fbxfilesdk_memory.h File Reference

#include <fbxfilesdk/components/kbaselib/karch/arch.h>
#include <fbxfilesdk/components/kbaselib/karch/types.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include <malloc.h>
#include <new>
#include <fbxfilesdk/fbxfilesdk_nsbegin.h>
#include <fbxfilesdk/fbxfilesdk_nsend.h>
#include <fbxfilesdk/fbxfilesdk_new.h>

Go to the source code of this file.

Classes

class   KFbxPointerFreeGuard

Defines

#define  KFBX_DLL   KFBX_DLLIMPORT
#define  strdup(s)   FBXFILESDK_NAMESPACE::FbxStrDup((s))
#define  _strdup(s)   FBXFILESDK_NAMESPACE::FbxStrDup((s))
#define  _wcsdup(s)   FBXFILESDK_NAMESPACE::FbxStrDupWC((s))
#define  _mbsdup(s)   FBXFILESDK_NAMESPACE::FbxStrDupMB((s))
#define  FBXSDK_NEW_REDIRECTED

Functions

KFBX_DLL void *  FbxSdkMalloc (size_t pBlockSize)
KFBX_DLL void *  FbxSdkCalloc (size_t pCount, size_t pBlockSize)
KFBX_DLL void *  FbxSdkRealloc (void *pData, size_t pBlockSize)
KFBX_DLL void  FbxSdkFree (void *pData)
KFBX_DLL size_t  FbxSdkMsize (void *pData)
KFBX_DLL void *  FbxSdkMalloc_Debug (size_t pBlockSize, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL void *  FbxSdkCalloc_Debug (size_t pCount, size_t pBlockSize, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL void *  FbxSdkRealloc_Debug (void *pData, size_t pBlockSize, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL void  FbxSdkFree_Debug (void *pData, int _BlockType)
KFBX_DLL size_t  FbxSdkMsize_Debug (void *pData, int _BlockType)
KFBX_DLL char *  FbxStrDup (const char *pString)
KFBX_DLL char *  FbxStrDup_Debug (const char *pString, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL wchar_t *  FbxStrDupWC (const wchar_t *pString)
KFBX_DLL wchar_t *  FbxStrDupWC_Debug (const wchar_t *pString, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL unsigned char *  FbxStrDupMB (const unsigned char *pString)
KFBX_DLL unsigned char *  FbxStrDupMB_Debug (const unsigned char *pString, int _BlockType, const char *_Filename, int _LineNumber)
KFBX_DLL void  SetMallocHandler (void *(*pHandler)(size_t))
KFBX_DLL void  SetCallocHandler (void *(*pHandler)(size_t, size_t))
KFBX_DLL void  SetReallocHandler (void *(*pHandler)(void *, size_t))
KFBX_DLL void  SetFreeHandler (void(*pHandler)(void *))
KFBX_DLL void  SetMsizeHandler (size_t(*pHandler)(void *))
KFBX_DLL void  SetMallocHandler_Debug (void *(*pHandler)(size_t, int, const char *, int))
KFBX_DLL void  SetCallocHandler_Debug (void *(*pHandler)(size_t, size_t, int, const char *, int))
KFBX_DLL void  SetReallocHandler_Debug (void *(*pHandler)(void *, size_t, int, const char *, int))
KFBX_DLL void  SetFreeHandler_Debug (void(*pHandler)(void *, int))
KFBX_DLL void  SetMsizeHandler_Debug (size_t(*pHandler)(void *, int))

Detailed Description

Definition in file fbxfilesdk_memory.h.


Define Documentation

#define KFBX_DLL   KFBX_DLLIMPORT

Definition at line 74 of file fbxfilesdk_memory.h.

#define strdup (   s )    FBXFILESDK_NAMESPACE::FbxStrDup((s))

Definition at line 142 of file fbxfilesdk_memory.h.

#define _strdup (   s )    FBXFILESDK_NAMESPACE::FbxStrDup((s))

Definition at line 143 of file fbxfilesdk_memory.h.

#define _wcsdup (   s )    FBXFILESDK_NAMESPACE::FbxStrDupWC((s))

Definition at line 144 of file fbxfilesdk_memory.h.

#define _mbsdup (   s )    FBXFILESDK_NAMESPACE::FbxStrDupMB((s))

Definition at line 145 of file fbxfilesdk_memory.h.

#define FBXSDK_NEW_REDIRECTED

Definition at line 159 of file fbxfilesdk_memory.h.


Function Documentation

KFBX_DLL void* FbxSdkMalloc ( size_t  pBlockSize )
KFBX_DLL void* FbxSdkCalloc ( size_t  pCount,
size_t  pBlockSize 
)
KFBX_DLL void* FbxSdkRealloc ( void *  pData,
size_t  pBlockSize 
)
KFBX_DLL void FbxSdkFree ( void *  pData )
KFBX_DLL size_t FbxSdkMsize ( void *  pData )
KFBX_DLL void* FbxSdkMalloc_Debug ( size_t  pBlockSize,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL void* FbxSdkCalloc_Debug ( size_t  pCount,
size_t  pBlockSize,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL void* FbxSdkRealloc_Debug ( void *  pData,
size_t  pBlockSize,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL void FbxSdkFree_Debug ( void *  pData,
int  _BlockType 
)
KFBX_DLL size_t FbxSdkMsize_Debug ( void *  pData,
int  _BlockType 
)
KFBX_DLL char* FbxStrDup ( const char *  pString )
KFBX_DLL char* FbxStrDup_Debug ( const char *  pString,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL wchar_t* FbxStrDupWC ( const wchar_t *  pString )
KFBX_DLL wchar_t* FbxStrDupWC_Debug ( const wchar_t *  pString,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL unsigned char* FbxStrDupMB ( const unsigned char *  pString )
KFBX_DLL unsigned char* FbxStrDupMB_Debug ( const unsigned char *  pString,
int  _BlockType,
const char *  _Filename,
int  _LineNumber 
)
KFBX_DLL void SetMallocHandler ( void *(*)(size_t)  pHandler )
KFBX_DLL void SetCallocHandler ( void *(*)(size_t, size_t)  pHandler )
KFBX_DLL void SetReallocHandler ( void *(*)(void *, size_t)  pHandler )
KFBX_DLL void SetFreeHandler ( void(*)(void *)  pHandler )
KFBX_DLL void SetMsizeHandler ( size_t(*)(void *)  pHandler )
KFBX_DLL void SetMallocHandler_Debug ( void *(*)(size_t, int, const char *, int)  pHandler )
KFBX_DLL void SetCallocHandler_Debug ( void *(*)(size_t, size_t, int, const char *, int)  pHandler )
KFBX_DLL void SetReallocHandler_Debug ( void *(*)(void *, size_t, int, const char *, int)  pHandler )
KFBX_DLL void SetFreeHandler_Debug ( void(*)(void *, int)  pHandler )
KFBX_DLL void SetMsizeHandler_Debug ( size_t(*)(void *, int)  pHandler )