TODO: 更多...
#include <APIPath.h>
Public 成员函数 | |
Path () | |
Path (const String &str) | |
String | GetString () const |
String | ToUtf8 () const |
void | FromUtf8 (const String &str) |
String | GetFilename () const |
String | GetDirectory () const |
String | GetExtension () const |
TODO:
AnyCAD::API::Path::Path | ( | ) |
AnyCAD::API::Path::Path | ( | const String & | str | ) |
void AnyCAD::API::Path::FromUtf8 | ( | const String & | str | ) |
Create from UTF8 string.
str | the UTF8 string. |
String AnyCAD::API::Path::GetDirectory | ( | ) | const |
Get directory.
String AnyCAD::API::Path::GetExtension | ( | ) | const |
Get extension
String AnyCAD::API::Path::GetFilename | ( | ) | const |
Get file name.
String AnyCAD::API::Path::GetString | ( | ) | const |
Get ANSI string. @ return the string.
String AnyCAD::API::Path::ToUtf8 | ( | ) | const |
Convert to UTF8 string. @ return the string.