FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxnamehandler.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2017 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_UTILS_NAMEHANDLER_H_
14 #define _FBXSDK_UTILS_NAMEHANDLER_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
35 {
36 public:
41  FbxNameHandler(const char* pInitialName = "");
42 
46  FbxNameHandler(FbxNameHandler const& pName);
47 
48  // !Destructor
49  ~FbxNameHandler();
50 
55  void SetInitialName(const char* pInitialName);
56 
60  const char* GetInitialName() const;
61 
66  void SetCurrentName(const char* pNewName);
67 
71  const char* GetCurrentName() const;
72 
77  void SetNameSpace(const char* pNameSpace);
78 
82  const char* GetNameSpace() const;
83 
87  bool IsRenamed() const;
88 
92  FbxNameHandler& operator= (FbxNameHandler const& pName);
93 
104 
115  void SetParentName(const char* pParentName);
116 
120  const char* GetParentName() const;
121 
123 
129  FbxArray<FbxString*> GetNameSpaceArray(char identifier);
130 
131 /*****************************************************************************************************************************
132 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
133 *****************************************************************************************************************************/
134 #ifndef DOXYGEN_SHOULD_SKIP_THIS
135 private:
136  FbxString mParentName;
137  FbxString mInitialName;
138  FbxString mCurrentName;
139  FbxString mNameSpace;
140 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
141 };
142 
143 #include <fbxsdk/fbxsdk_nsend.h>
144 
145 #endif /* _FBXSDK_UTILS_NAMEHANDLER_H_ */
FBX SDK environment definition.
Utility class to manipulate strings.
Definition: fbxstring.h:66
#define FBXSDK_DLL
Definition: fbxarch.h:173
A name is a case-sensitive string ID of a property, a node, a node attribute, a texture, etc.
Class for array of basic elements such as pointers and basic types.
Definition: fbxarray.h:23