FBX C++ API Reference
fbxbindingtablebase.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_SHADING_BINDING_TABLE_BASE_H_
14 #define _FBXSDK_SCENE_SHADING_BINDING_TABLE_BASE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #include <fbxsdk/core/fbxobject.h>
21 
22 #include <fbxsdk/fbxsdk_nsbegin.h>
23 
31 {
33 
34 public:
38  FbxBindingTableEntry& AddNewEntry();
39 
43  size_t GetEntryCount() const;
44 
49  FbxBindingTableEntry const& GetEntry( size_t pIndex ) const;
50 
55  FbxBindingTableEntry& GetEntry( size_t pIndex );
56 
62  const FbxBindingTableEntry* GetEntryForSource(const char* pSrcName) const;
63 
69  const FbxBindingTableEntry* GetEntryForDestination(const char* pDestName) const;
70 
71 /*****************************************************************************************************************************
72 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
73 *****************************************************************************************************************************/
74 #ifndef DOXYGEN_SHOULD_SKIP_THIS
75  // Remark: This method copies the mEntries table AND clears the UserData on the resulting copy to prevent shared memory
76  // data between clones/copies.
77  virtual FbxObject& Copy(const FbxObject& pObject);
78 
79 private:
81 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
82 };
83 
84 #include <fbxsdk/fbxsdk_nsend.h>
85 
86 #endif /* _FBXSDK_SCENE_SHADING_BINDING_TABLE_BASE_H_ */
FBX SDK environment definition.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
A binding table entry stores a binding between a source and a destination.
A binding table represents a collection of bindings from source types such as FbxObject, or FbxLayerElements to destinations which can be of similar types.
The base class of most FBX objects.
Definition: fbxobject.h:157
#define FBXSDK_ABSTRACT_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new abstract class derived from FbxObject.
Definition: fbxobject.h:68
Template class for dynamic array holding objects.
#define FBXSDK_DLL
Definition: fbxarch.h:173