fbxsdk/core/arch/fbxtypes.h File Reference
 
 
 
fbxsdk/core/arch/fbxtypes.h File Reference

File Description

Basic types definition.

Standard basic types used across the FBX SDK. There is also platform independent definitions that guarantee size across operating systems. The FBXSDK_SYSTEM_IS_LP64 define is set to 1 when the operating system defines the "long" C++ type as 64-bit.

Definition in file fbxtypes.h.

Classes

class   FbxVectorTemplate2< T >
class   FbxVectorTemplate3< T >
class   FbxVectorTemplate4< T >

Defines

#define  FBXSDK_LONGLONG(x)   (x##LL)
#define  FBXSDK_ULONGLONG(x)   (x##ULL)
#define  FBXSDK_CHAR_MIN   -128
#define  FBXSDK_CHAR_MAX   127
#define  FBXSDK_UCHAR_MIN   0
#define  FBXSDK_UCHAR_MAX   255
#define  FBXSDK_SHORT_MIN   -32768
#define  FBXSDK_SHORT_MAX   32767
#define  FBXSDK_USHORT_MIN   0
#define  FBXSDK_USHORT_MAX   65535
#define  FBXSDK_INT_MIN   0x80000000
#define  FBXSDK_INT_MAX   0x7fffffff
#define  FBXSDK_UINT_MIN   0
#define  FBXSDK_UINT_MAX   0xffffffff
#define  FBXSDK_LONG_MIN   FBXSDK_INT_MIN
#define  FBXSDK_LONG_MAX   FBXSDK_INT_MAX
#define  FBXSDK_ULONG_MIN   FBXSDK_UINT_MIN
#define  FBXSDK_ULONG_MAX   FBXSDK_UINT_MAX
#define  FBXSDK_LONGLONG_MIN   FBXSDK_LONGLONG(0x8000000000000000)
#define  FBXSDK_LONGLONG_MAX   FBXSDK_LONGLONG(0x7fffffffffffffff)
#define  FBXSDK_ULONGLONG_MIN   FBXSDK_ULONGLONG(0)
#define  FBXSDK_ULONGLONG_MAX   FBXSDK_ULONGLONG(0xffffffffffffffff)
#define  FBXSDK_FLOAT_MIN   FLT_MIN
#define  FBXSDK_FLOAT_MAX   FLT_MAX
#define  FBXSDK_FLOAT_EPSILON   FLT_EPSILON
#define  FBXSDK_DOUBLE_MIN   DBL_MIN
#define  FBXSDK_DOUBLE_MAX   DBL_MAX
#define  FBXSDK_DOUBLE_EPSILON   DBL_EPSILON
#define  FBXSDK_TOLERANCE   (1.0e-6)

Typedefs

typedef bool  FbxBool
typedef signed char  FbxChar
typedef unsigned char  FbxUChar
typedef signed short  FbxShort
typedef unsigned short  FbxUShort
typedef signed int  FbxInt
typedef unsigned int  FbxUInt
typedef float  FbxFloat
typedef double  FbxDouble
typedef FbxBool FbxBoolPtr
typedef FbxChar FbxCharPtr
typedef FbxUChar FbxUCharPtr
typedef FbxShort FbxShortPtr
typedef FbxUShort FbxUShortPtr
typedef FbxInt FbxIntPtr
typedef FbxUInt FbxUIntPtr
typedef FbxFloat FbxFloatPtr
typedef FbxDouble FbxDoublePtr
typedef FbxInt  FbxEnum
typedef FbxObject FbxReference
typedef signed char  FbxInt8
typedef unsigned char  FbxUInt8
typedef signed short  FbxInt16
typedef unsigned short  FbxUInt16
typedef signed int  FbxInt32
typedef unsigned int  FbxUInt32
typedef signed long long  FbxInt64
typedef unsigned long long  FbxUInt64
typedef signed long  FbxLong
typedef unsigned long  FbxULong
typedef FbxInt64  FbxLongLong
typedef FbxUInt64  FbxULongLong
typedef FbxLong FbxLongPtr
typedef FbxULong FbxULongPtr
typedef FbxLongLong FbxLongLongPtr
typedef FbxULongLong FbxULongLongPtr
typedef FbxVectorTemplate2
< FbxDouble
FbxDouble2
typedef FbxVectorTemplate3
< FbxDouble
FbxDouble3
typedef FbxVectorTemplate4
< FbxDouble
FbxDouble4
typedef FbxVectorTemplate4
< FbxDouble4
FbxDouble4x4

Functions

const FbxChar  FbxMin (const FbxChar)
const FbxUChar  FbxMin (const FbxUChar)
const FbxShort  FbxMin (const FbxShort)
const FbxUShort  FbxMin (const FbxUShort)
const FbxInt  FbxMin (const FbxInt)
const FbxUInt  FbxMin (const FbxUInt)
const FbxLongLong  FbxMin (const FbxLongLong)
const FbxULongLong  FbxMin (const FbxULongLong)
const FbxFloat  FbxMin (const FbxFloat)
const FbxDouble  FbxMin (const FbxDouble)
const FbxChar  FbxMax (const FbxChar)
const FbxUChar  FbxMax (const FbxUChar)
const FbxShort  FbxMax (const FbxShort)
const FbxUShort  FbxMax (const FbxUShort)
const FbxInt  FbxMax (const FbxInt)
const FbxUInt  FbxMax (const FbxUInt)
const FbxLongLong  FbxMax (const FbxLongLong)
const FbxULongLong  FbxMax (const FbxULongLong)
const FbxFloat  FbxMax (const FbxFloat)
const FbxDouble  FbxMax (const FbxDouble)
const FbxLong  FbxMin (const FbxLong)
const FbxULong  FbxMin (const FbxULong)
const FbxLong  FbxMax (const FbxLong)
const FbxULong  FbxMax (const FbxULong)
template<class T >
const T  FbxMin (const T)
template<class T >
const T  FbxMax (const T)
template<class T >
FbxMin (const T x, const T y)
template<class T >
FbxMax (const T x, const T y)

Define Documentation

#define FBXSDK_LONGLONG (   x )    (x##LL)

Definition at line 72 of file fbxtypes.h.

#define FBXSDK_ULONGLONG (   x )    (x##ULL)

Definition at line 73 of file fbxtypes.h.

#define FBXSDK_CHAR_MIN   -128

Definition at line 102 of file fbxtypes.h.

#define FBXSDK_CHAR_MAX   127

Definition at line 103 of file fbxtypes.h.

#define FBXSDK_UCHAR_MIN   0

Definition at line 104 of file fbxtypes.h.

#define FBXSDK_UCHAR_MAX   255

Definition at line 105 of file fbxtypes.h.

#define FBXSDK_SHORT_MIN   -32768

Definition at line 106 of file fbxtypes.h.

#define FBXSDK_SHORT_MAX   32767

Definition at line 107 of file fbxtypes.h.

#define FBXSDK_USHORT_MIN   0

Definition at line 108 of file fbxtypes.h.

#define FBXSDK_USHORT_MAX   65535

Definition at line 109 of file fbxtypes.h.

#define FBXSDK_INT_MIN   0x80000000

Definition at line 110 of file fbxtypes.h.

#define FBXSDK_INT_MAX   0x7fffffff

Definition at line 111 of file fbxtypes.h.

#define FBXSDK_UINT_MIN   0

Definition at line 112 of file fbxtypes.h.

#define FBXSDK_UINT_MAX   0xffffffff

Definition at line 113 of file fbxtypes.h.

#define FBXSDK_LONG_MIN   FBXSDK_INT_MIN

Definition at line 114 of file fbxtypes.h.

#define FBXSDK_LONG_MAX   FBXSDK_INT_MAX

Definition at line 115 of file fbxtypes.h.

#define FBXSDK_ULONG_MIN   FBXSDK_UINT_MIN

Definition at line 116 of file fbxtypes.h.

#define FBXSDK_ULONG_MAX   FBXSDK_UINT_MAX

Definition at line 117 of file fbxtypes.h.

#define FBXSDK_LONGLONG_MIN   FBXSDK_LONGLONG(0x8000000000000000)

Definition at line 118 of file fbxtypes.h.

#define FBXSDK_LONGLONG_MAX   FBXSDK_LONGLONG(0x7fffffffffffffff)

Definition at line 119 of file fbxtypes.h.

#define FBXSDK_ULONGLONG_MIN   FBXSDK_ULONGLONG(0)

Definition at line 120 of file fbxtypes.h.

#define FBXSDK_ULONGLONG_MAX   FBXSDK_ULONGLONG(0xffffffffffffffff)

Definition at line 121 of file fbxtypes.h.

#define FBXSDK_FLOAT_MIN   FLT_MIN

Definition at line 122 of file fbxtypes.h.

#define FBXSDK_FLOAT_MAX   FLT_MAX

Definition at line 123 of file fbxtypes.h.

#define FBXSDK_FLOAT_EPSILON   FLT_EPSILON

Definition at line 124 of file fbxtypes.h.

#define FBXSDK_DOUBLE_MIN   DBL_MIN

Definition at line 125 of file fbxtypes.h.

#define FBXSDK_DOUBLE_MAX   DBL_MAX

Definition at line 126 of file fbxtypes.h.

#define FBXSDK_DOUBLE_EPSILON   DBL_EPSILON

Definition at line 127 of file fbxtypes.h.

#define FBXSDK_TOLERANCE   (1.0e-6)

Definition at line 128 of file fbxtypes.h.


Typedef Documentation

typedef bool FbxBool

Definition at line 32 of file fbxtypes.h.

typedef signed char FbxChar

Definition at line 35 of file fbxtypes.h.

typedef unsigned char FbxUChar

Definition at line 36 of file fbxtypes.h.

typedef signed short FbxShort

Definition at line 37 of file fbxtypes.h.

typedef unsigned short FbxUShort
typedef signed int FbxInt

Definition at line 39 of file fbxtypes.h.

typedef unsigned int FbxUInt

Definition at line 40 of file fbxtypes.h.

typedef float FbxFloat

Definition at line 41 of file fbxtypes.h.

typedef double FbxDouble

Definition at line 42 of file fbxtypes.h.

typedef FbxBool* FbxBoolPtr

Definition at line 44 of file fbxtypes.h.

typedef FbxChar* FbxCharPtr

Definition at line 45 of file fbxtypes.h.

Definition at line 46 of file fbxtypes.h.

Definition at line 47 of file fbxtypes.h.

Definition at line 48 of file fbxtypes.h.

typedef FbxInt* FbxIntPtr

Definition at line 49 of file fbxtypes.h.

typedef FbxUInt* FbxUIntPtr

Definition at line 50 of file fbxtypes.h.

Definition at line 51 of file fbxtypes.h.

Definition at line 52 of file fbxtypes.h.

typedef FbxInt FbxEnum

Definition at line 54 of file fbxtypes.h.

Definition at line 55 of file fbxtypes.h.

typedef signed char FbxInt8

Definition at line 75 of file fbxtypes.h.

typedef unsigned char FbxUInt8

Definition at line 76 of file fbxtypes.h.

typedef signed short FbxInt16

Definition at line 77 of file fbxtypes.h.

typedef unsigned short FbxUInt16

Definition at line 78 of file fbxtypes.h.

typedef signed int FbxInt32

Definition at line 79 of file fbxtypes.h.

typedef unsigned int FbxUInt32

Definition at line 80 of file fbxtypes.h.

typedef signed long long FbxInt64

Definition at line 81 of file fbxtypes.h.

typedef unsigned long long FbxUInt64

Definition at line 82 of file fbxtypes.h.

typedef signed long FbxLong

Definition at line 89 of file fbxtypes.h.

typedef unsigned long FbxULong

Definition at line 90 of file fbxtypes.h.

Definition at line 92 of file fbxtypes.h.

Definition at line 93 of file fbxtypes.h.

typedef FbxLong* FbxLongPtr

Definition at line 95 of file fbxtypes.h.

Definition at line 96 of file fbxtypes.h.

Definition at line 97 of file fbxtypes.h.


Function Documentation

const FbxChar FbxMin ( const FbxChar  ) [inline]

Definition at line 154 of file fbxtypes.h.

{ return FBXSDK_CHAR_MIN; }
const FbxUChar FbxMin ( const FbxUChar  ) [inline]

Definition at line 155 of file fbxtypes.h.

{ return FBXSDK_UCHAR_MIN; }
const FbxShort FbxMin ( const FbxShort  ) [inline]

Definition at line 156 of file fbxtypes.h.

{ return FBXSDK_SHORT_MIN; }
const FbxUShort FbxMin ( const FbxUShort  ) [inline]

Definition at line 157 of file fbxtypes.h.

{ return FBXSDK_USHORT_MIN; }
const FbxInt FbxMin ( const FbxInt  ) [inline]

Definition at line 158 of file fbxtypes.h.

{ return FBXSDK_INT_MIN; }
const FbxUInt FbxMin ( const FbxUInt  ) [inline]

Definition at line 159 of file fbxtypes.h.

{ return FBXSDK_UINT_MIN; }
const FbxLongLong FbxMin ( const FbxLongLong  ) [inline]

Definition at line 160 of file fbxtypes.h.

{ return FBXSDK_LONGLONG_MIN; }
const FbxULongLong FbxMin ( const FbxULongLong  ) [inline]

Definition at line 161 of file fbxtypes.h.

{ return FBXSDK_ULONGLONG_MIN; }
const FbxFloat FbxMin ( const FbxFloat  ) [inline]

Definition at line 162 of file fbxtypes.h.

{ return FBXSDK_FLOAT_MIN; }
const FbxDouble FbxMin ( const FbxDouble  ) [inline]

Definition at line 163 of file fbxtypes.h.

{ return FBXSDK_DOUBLE_MIN; }
const FbxChar FbxMax ( const FbxChar  ) [inline]

Definition at line 165 of file fbxtypes.h.

{ return FBXSDK_CHAR_MAX; }
const FbxUChar FbxMax ( const FbxUChar  ) [inline]

Definition at line 166 of file fbxtypes.h.

{ return FBXSDK_UCHAR_MAX; }
const FbxShort FbxMax ( const FbxShort  ) [inline]

Definition at line 167 of file fbxtypes.h.

{ return FBXSDK_SHORT_MAX; }
const FbxUShort FbxMax ( const FbxUShort  ) [inline]

Definition at line 168 of file fbxtypes.h.

{ return FBXSDK_USHORT_MAX; }
const FbxInt FbxMax ( const FbxInt  ) [inline]

Definition at line 169 of file fbxtypes.h.

{ return FBXSDK_INT_MAX; }
const FbxUInt FbxMax ( const FbxUInt  ) [inline]

Definition at line 170 of file fbxtypes.h.

{ return FBXSDK_UINT_MAX; }
const FbxLongLong FbxMax ( const FbxLongLong  ) [inline]

Definition at line 171 of file fbxtypes.h.

{ return FBXSDK_LONGLONG_MAX; }
const FbxULongLong FbxMax ( const FbxULongLong  ) [inline]

Definition at line 172 of file fbxtypes.h.

{ return FBXSDK_ULONGLONG_MAX; }
const FbxFloat FbxMax ( const FbxFloat  ) [inline]

Definition at line 173 of file fbxtypes.h.

{ return FBXSDK_FLOAT_MAX; }
const FbxDouble FbxMax ( const FbxDouble  ) [inline]

Definition at line 174 of file fbxtypes.h.

{ return FBXSDK_DOUBLE_MAX; }
const FbxLong FbxMin ( const FbxLong  ) [inline]

Definition at line 177 of file fbxtypes.h.

{ return FBXSDK_LONG_MIN; }
const FbxULong FbxMin ( const FbxULong  ) [inline]

Definition at line 178 of file fbxtypes.h.

{ return FBXSDK_ULONG_MIN; }
const FbxLong FbxMax ( const FbxLong  ) [inline]

Definition at line 179 of file fbxtypes.h.

{ return FBXSDK_LONG_MAX; }
const FbxULong FbxMax ( const FbxULong  ) [inline]

Definition at line 180 of file fbxtypes.h.

{ return FBXSDK_ULONG_MAX; }
const T FbxMin ( const T  ) [inline]

Definition at line 183 of file fbxtypes.h.

{};
const T FbxMax ( const T  ) [inline]

Definition at line 184 of file fbxtypes.h.

{};
T FbxMin ( const T  x,
const T  y 
) [inline]

Definition at line 186 of file fbxtypes.h.

{ return (x < y) ? x : y; }
T FbxMax ( const T  x,
const T  y 
) [inline]

Definition at line 187 of file fbxtypes.h.

{ return (x > y) ? x : y; }

Go to the source code of this file.