13 #ifndef _FBXSDK_CORE_BASE_UTILITIES_H_ 14 #define _FBXSDK_CORE_BASE_UTILITIES_H_ 23 #ifndef FBXSDK_ENV_WINSTORE 62 static FbxString Bind(
const char* pRootPath,
const char* pFilePath,
bool pCleanPath=
true);
68 static FbxString GetFolderName(
const char* pFilePath);
76 static FbxString GetFileName(
const char* pFilePath,
bool pWithExtension=
true);
83 static FbxString GetExtensionName(
const char* pFilePath);
91 static FbxString ChangeExtension(
const char* pFilePath,
const char* pExtension);
94 static bool IsRelative(
const char* pPath);
102 static FbxString GetRelativePath(
const char* pRootPath,
const char* pNewPath);
105 static FbxString GetRelativeFilePath(
const char* pRootPath,
const char* pNewFilePath);
110 static FbxString Resolve(
const char* pRelPath);
113 static FbxString Clean(
const char* pPath);
120 static FbxString GenerateFileName(
const char* pFolder,
const char* pPrefix);
126 static bool Exist(
const char* pFolderPathUTF8);
132 static bool Create(
const char* pFolderPathUTF8);
138 static bool Delete(
const char* pFolderPathUTF8);
140 #ifndef FBXSDK_ENV_WINSTORE 144 static bool IsEmpty(
const char* pFolderPath_UTF8);
157 mStatusPtr = FbxNew<FbxStatus>();
void FbxSetCurrentWorkPath(const char *pPath_UTF8)
Change the working directory of the system.
FBX SDK environment definition.
Global accessor to an FbxStatus object.
Utility class to manipulate strings.
This class facilitates the testing/reporting of errors.
FbxString FbxGetSystemTempPath()
Retrieve the system temporary folder path name.
FbxString FbxGetEnv(const char *pEnvVar)
Retrieve the environment variable value.
FbxString FbxGetApplicationDirectory()
Get the application directory.
FbxString FbxGetCurrentWorkPath()
Retrieve the working directory of the system in UTF8 format.
static FbxStatus & GetRef()
bool FbxSetSystemTempPath(const char *pPathUTF8)
Override the system temporary folder path name.