FBX C++ API Reference
fbxsdk_def.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 
18 #ifndef _FBXSDK_DEFINITION_H_
19 #define _FBXSDK_DEFINITION_H_
20 
21 //---------------------------------------------------------------------------------------
22 //System Includes
23 #include <stdlib.h>
24 #include <stdarg.h>
25 #include <stddef.h>
26 #include <stdio.h>
27 #include <ctype.h>
28 #include <string.h>
29 #include <wchar.h>
30 #include <locale.h>
31 #include <float.h>
32 #include <math.h>
33 #include <time.h>
34 
35 //---------------------------------------------------------------------------------------
36 //Define Version and Namespace
37 #include <fbxsdk/fbxsdk_version.h>
38 
39 //---------------------------------------------------------------------------------------
40 //Define Architecture
47 
48 //---------------------------------------------------------------------------------------
49 //Useful Macros
50 #define FBX_SAFE_DELETE(p) {FbxDelete(p);(p)=NULL;}
51 #define FBX_SAFE_DELETE_ARRAY(a) {FbxDeleteArray(a);(a)=NULL;}
52 #define FBX_SAFE_DESTROY(p) if(p){(p)->Destroy();(p)=NULL;}
53 #define FBX_SAFE_FREE(p) if(p){FbxFree(p);(p)=NULL;}
54 
55 #endif /* _FBXSDK_DEFINITION_H_ */
Macros to properly support the CRT secure functions.
New operator override templates.
Architecture definition.
Basic types definition.
FBX SDK version definition.
Allocation functions definition.
Debugging macros and functions.