Go to the documentation of
this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013 #ifndef _FBXSDK_UTILS_RENAMINGSTRATEGY_UTILITIES_H_
00014 #define _FBXSDK_UTILS_RENAMINGSTRATEGY_UTILITIES_H_
00015
00016 #include <fbxsdk/fbxsdk_def.h>
00017
00018 #include <fbxsdk/core/base/fbxstring.h>
00019
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021
00022 #define NAMECLASH1_KEY "_ncl1_" // name (x)
00023 #define NAMECLASH2_KEY "_ncl2_" // Upper/lower cases clash
00024
00025 #define UPPERTOLOWER_KEY "ul"
00026 #define LOWERTOUPPER_KEY "lu"
00027
00031 class FBXSDK_DLL FbxRenamingStrategyUtils
00032 {
00033 public:
00034
00053 static bool EncodeNonAlpha(FbxString &pString, bool pFirstCharMustBeAlphaOnly=false, FbxString pPermittedChars="", bool p8bitCharsOnly = true);
00054
00059 static bool DecodeNonAlpha(FbxString &pString);
00060
00067 static bool EncodeDuplicate(FbxString &pString, int pInstanceNumber=0);
00068
00073 static bool DecodeDuplicate(FbxString &pString);
00074
00081 static bool EncodeCaseInsensitive(FbxString &pString, const FbxString pString2);
00082
00087 static bool DecodeCaseInsensitive(FbxString &pString);
00088
00089 };
00090
00091 #include <fbxsdk/fbxsdk_nsend.h>
00092
00093 #endif