13 #ifndef _FBXSDK_FILEIO_CALLBACKS_H_
14 #define _FBXSDK_FILEIO_CALLBACKS_H_
22 #define FBXCALLBACK_FUNCTION(x) FbxHandle(x)
23 #define FBXCALLBACK_USERDATA(x) FbxHandle((void*)(x))
46 bool GetCallback(
int pId, FbxHandle& pFunction, FbxHandle& pUserData);
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
69 void Destruct(
bool pRecursive)
override;
183 const char* pFileName,
const void* pFileBuffer,
size_t pSizeInBytes);
192 int RegisterReadFunction(ReadCBFunction pFunction,
void* pUserData =
nullptr);
201 FbxCallback::State Trigger(
const char* pFileName,
const void* pFileBuffer,
size_t pSizeInBytes);
218 const char* pFileName,
const void** pFileBuffer,
size_t* pSizeInBytes);
227 int RegisterWriteFunction(WriteCBFunction pFunction,
void* pUserData =
nullptr);
236 FbxCallback::State Trigger(
const char* pFileName,
const void** pFileBuffer,
size_t* pSizeInBytes);
241 #ifndef DOXYGEN_SHOULD_SKIP_THIS
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Callback to operate on the embedded data while it is processed.
FBX SDK environment definition.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
The base class of most FBX objects.
#define FBXSDK_ABSTRACT_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new abstract class derived from FbxObject.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
Internal class used to differentiate objects during run-time.
#define FBXCALLBACK_USERDATA(x)
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
Class for array of basic elements such as pointers and basic types.