Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00013 #ifndef _FBXSDK_UTILS_NAMEHANDLER_H_
00014 #define _FBXSDK_UTILS_NAMEHANDLER_H_
00015
00016 #include <fbxsdk/fbxsdk_def.h>
00017
00018 #include <fbxsdk/core/base/fbxarray.h>
00019 #include <fbxsdk/core/base/fbxstring.h>
00020
00021 #include <fbxsdk/fbxsdk_nsbegin.h>
00022
00034 class FBXSDK_DLL FbxNameHandler
00035 {
00036 public:
00041 FbxNameHandler(char const* pInitialName = "");
00042
00046 FbxNameHandler(FbxNameHandler const& pName);
00047
00048
00049 ~FbxNameHandler();
00050
00055 void SetInitialName(char const* pInitialName);
00056
00060 char const* GetInitialName() const;
00061
00066 void SetCurrentName(char const* pNewName);
00067
00071 char const* GetCurrentName() const;
00072
00077 void SetNameSpace(char const* pNameSpace);
00078
00082 char const* GetNameSpace() const;
00083
00087 bool IsRenamed() const;
00088
00092 FbxNameHandler& operator= (FbxNameHandler const& pName);
00093
00104
00115 void SetParentName(char const* pParentName);
00116
00120 char const* GetParentName() const;
00121
00123
00127 FbxArray<FbxString*> GetNameSpaceArray(char identifier);
00128
00129
00130
00131
00132 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00133 private:
00134 FbxString mParentName;
00135 FbxString mInitialName;
00136 FbxString mCurrentName;
00137 FbxString mNameSpace;
00138 #endif
00139 };
00140
00141 #include <fbxsdk/fbxsdk_nsend.h>
00142
00143 #endif