FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxrenamingstrategybase.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 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_RENAMINGSTRATEGY_BASE_H_
14 #define _FBXSDK_UTILS_RENAMINGSTRATEGY_BASE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #include <fbxsdk/scene/fbxscene.h>
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
27 {
28 public:
29 
32 
36  FbxRenamingStrategyBase(char pNameSpaceSymbol);
37 
39  virtual ~FbxRenamingStrategyBase();
40 
45  virtual bool DecodeScene(FbxScene* pScene)=0;
46 
51  virtual bool EncodeScene(FbxScene* pScene)=0;
52 
57  virtual bool DecodeString(FbxNameHandler& pString)=0;
58 
64  virtual bool EncodeString(FbxNameHandler& pString, bool pIsPropertyName=false)=0;
65 
67  virtual void CleanUp();
68 
69 /*****************************************************************************************************************************
70 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
71 *****************************************************************************************************************************/
72 #ifndef DOXYGEN_SHOULD_SKIP_THIS
73  struct NameCell
74  {
75  NameCell(const char* pName) :
76  mName(pName),
77  mInstanceCount(0)
78  {
79  }
80 
81  FbxString mName;
82  int mInstanceCount;
83  };
84 
85  char mNamespaceSymbol;
86  FbxCharPtrSet mStringNameArray;
87 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
88 };
89 
90 #include <fbxsdk/fbxsdk_nsend.h>
91 
92 #endif /* _FBXSDK_UTILS_RENAMINGSTRATEGY_BASE_H_ */
FBX SDK environment definition.
Utility class to manipulate strings.
Definition: fbxstring.h:66
Base class for renaming strategy.
This class contains the description of a 3D scene.
Definition: fbxscene.h:61
This class contains the data structure support for char pointer set.
Definition: fbxcharptrset.h:22
#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.