tab.h File Reference

tab.h File Reference
#include "maxheap.h"
#include <malloc.h>
#include <stdlib.h>
#include <wtypes.h>
#include "Util/MaxExceptions.h"
#include "utilexp.h"
#include "assert1.h"
#include "PodTypeCheck.h"

Classes

struct  TabHdr
 
class  TabHd< T >
 
class  TabOutOfRangeException
 Thrown when an invalid index is passed into Tab::operator[] or Tab::Addr. More...
 
class  Tab< T >
 Generic container class. More...
 

Namespaces

 MaxSDK
 These classes let you define skin weighting using a voxel or height map based algorithm.
 
 MaxSDK::Util
 

Macros

#define NoExport
 
#define __tab_name2(a, b)   a##b
 
#define MakeTab(TYPE)   typedef Tab<TYPE> __tab_name2(TYPE, Tab);
 

Typedefs

typedef int CNT
 
typedef const voidelem2
 

Functions

UtilExport int TBMakeSize (TabHdr **pth, int num, int elsize)
 
UtilExport int TBInsertAt (TabHdr **pth, int at, int num, const void *el, int elsize, int extra)
 
UtilExport int TBCopy (TabHdr **pth, int at, int num, const void *el, int elsize)
 
UtilExport int TBDelete (TabHdr **pth, int starting, int num, int elsize)
 
UtilExport void TBSetCount (TabHdr **pth, int n, int elsize, BOOL resize)
 
UtilExport void zfree (void **p)
 
typedef int (__cdecl *CompareFnc)(const void *elem1
 
UtilExport void TabStartRecording ()
 
UtilExport void TabStopRecording ()
 
UtilExport void TabPrintAllocs ()
 
UtilExport void TabAssertAllocNum (int i)
 

Macro Definition Documentation

#define NoExport
#define __tab_name2 (   a,
 
)    a##b
#define MakeTab (   TYPE)    typedef Tab<TYPE> __tab_name2(TYPE, Tab);

Typedef Documentation

typedef int CNT
typedef const void* elem2

Function Documentation

UtilExport int TBMakeSize ( TabHdr **  pth,
int  num,
int  elsize 
)
UtilExport int TBInsertAt ( TabHdr **  pth,
int  at,
int  num,
const void el,
int  elsize,
int  extra 
)
UtilExport int TBCopy ( TabHdr **  pth,
int  at,
int  num,
const void el,
int  elsize 
)
UtilExport int TBDelete ( TabHdr **  pth,
int  starting,
int  num,
int  elsize 
)
UtilExport void TBSetCount ( TabHdr **  pth,
int  n,
int  elsize,
BOOL  resize 
)
UtilExport void zfree ( void **  p)
typedef int ( __cdecl *  CompareFnc) const
UtilExport void TabStartRecording ( )
UtilExport void TabStopRecording ( )
UtilExport void TabPrintAllocs ( )
UtilExport void TabAssertAllocNum ( int  i)