FBX C++ API Reference
fbxcontainertemplate.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_SCENE_CONTAINER_TEMPLATE_H_
14 #define _FBXSDK_SCENE_CONTAINER_TEMPLATE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #include <fbxsdk/core/fbxobject.h>
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
22 //Container Template tokens
23 #define FBXSDK_CONTAINER_TEMPLATE_STR "templates"
24 #define FBXSDK_TEMPLATE_STR "template"
25 #define FBXSDK_EXTENDS_TEMPLATE_STR "extends"
26 
27 struct FbxContainerTemplate_internal;
28 
33 {
35 
36 public:
42  void ParseTemplateFile(const char* pTemplateFilePath, FbxArray<FbxString*>& pExtendTemplateNames);
43 
47  void AddExtendTemplatePath(const char* pExtendTemplatePath);
48 
53  char* GetExtendTemplatePathAt(FbxUInt pIndex) const;
54 
58  FbxUInt GetExtendTemplateCount() const;
59 
62  void ClearExtendTemplatePath();
63 
72 
81 
90 
99 
100 /*****************************************************************************************************************************
101 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
102 *****************************************************************************************************************************/
103 #ifndef DOXYGEN_SHOULD_SKIP_THIS
104 protected:
105  virtual void Construct(const FbxObject* pFrom);
106  virtual void ConstructProperties(bool pForceSet);
107  virtual void Destruct(bool pRecursive);
108 
109 private:
110  FbxContainerTemplate_internal* mData;
111  FbxArray<FbxString*> mExtendTemplatePaths;
112 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
113 };
114 
115 #include <fbxsdk/fbxsdk_nsend.h>
116 
117 #endif /* _FBXSDK_SCENE_CONTAINER_TEMPLATE_H_ */
unsigned int FbxUInt
Definition: fbxtypes.h:40
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
Class for Container Template files.
FbxPropertyT< FbxString > ContainerTemplatePath
This property contains the template path.
FbxPropertyT< FbxString > ContainerTemplateVersion
This property contains the template version information of the container.
The base class of most FBX objects.
Definition: fbxobject.h:157
FbxPropertyT< FbxString > ContainerTemplateName
This property contains the template name.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
#define FBXSDK_DLL
Definition: fbxarch.h:173
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
Class for array of basic elements such as pointers and basic types.
Definition: fbxarray.h:23
FbxPropertyT< FbxString > ContainerTemplatePackageName
This property contains the template package name.