fbxsdk/core/base/fbxutils.h Source File
Go to the documentation of this file.
13 #ifndef _FBXSDK_CORE_BASE_UTILITIES_H_
14 #define _FBXSDK_CORE_BASE_UTILITIES_H_
23 #ifndef FBXSDK_ENV_WINSTORE
58 static FbxString Bind(
const char* pRootPath,
const char* pFilePath,
bool pCleanPath=
true);
64 static FbxString GetFolderName(
const char* pFilePath);
72 static FbxString GetFileName(
const char* pFilePath,
bool pWithExtension=
true);
79 static FbxString GetExtensionName(
const char* pFilePath);
87 static FbxString ChangeExtension(
const char* pFilePath,
const char* pExtension);
90 static bool IsRelative(
const char* pPath);
98 static FbxString GetRelativePath(
const char* pRootPath,
const char* pNewPath);
101 static FbxString GetRelativeFilePath(
const char* pRootPath,
const char* pNewFilePath);
106 static FbxString Resolve(
const char* pRelPath);
109 static FbxString Clean(
const char* pPath);
116 static FbxString GenerateFileName(
const char* pFolder,
const char* pPrefix);
122 static bool Exist(
const char* pFolderPathUTF8);
128 static bool Create(
const char* pFolderPathUTF8);
134 static bool Delete(
const char* pFolderPathUTF8);
136 #ifndef FBXSDK_ENV_WINSTORE
140 static bool IsEmpty(
const char* pFolderPath_UTF8);
153 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.
void FbxSetSystemTempPath(const char *pPathUTF8)
Override the system temporary folder path name.
FbxString FbxGetCurrentWorkPath()
Retrieve the working directory of the system in UTF8 format.
static FbxStatus & GetRef()