3ds Max C++ API Reference
Loading...
Searching...
No Matches
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

namespace  MaxSDK
 
namespace  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 int(* CompareFnc) (const void *elem1, const void *elem2)
 

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 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)
 
UtilExport void TabStartRecording ()
 
UtilExport void TabStopRecording ()
 
UtilExport void TabPrintAllocs ()
 
UtilExport void TabAssertAllocNum (int i)
 

Macro Definition Documentation

◆ NoExport

#define NoExport

◆ __tab_name2

#define __tab_name2 (   a,
  b 
)    a##b

◆ MakeTab

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

Typedef Documentation

◆ CNT

typedef int CNT

◆ CompareFnc

typedef int(* CompareFnc) (const void *elem1, const void *elem2)

Function Documentation

◆ TBMakeSize()

UtilExport int TBMakeSize ( TabHdr **  pth,
int  num,
int  elsize 
)

◆ TBInsertAt()

UtilExport int TBInsertAt ( TabHdr **  pth,
int  at,
int  num,
const void el,
int  elsize,
int  extra 
)

◆ TBCopy()

UtilExport int TBCopy ( TabHdr **  pth,
int  num,
const void el,
int  elsize 
)

◆ TBDelete()

UtilExport int TBDelete ( TabHdr **  pth,
int  starting,
int  num,
int  elsize 
)

◆ TBSetCount()

UtilExport void TBSetCount ( TabHdr **  pth,
int  n,
int  elsize,
BOOL  resize 
)

◆ zfree()

UtilExport void zfree ( void **  p)

◆ TabStartRecording()

UtilExport void TabStartRecording ( )

◆ TabStopRecording()

UtilExport void TabStopRecording ( )

◆ TabPrintAllocs()

UtilExport void TabPrintAllocs ( )

◆ TabAssertAllocNum()

UtilExport void TabAssertAllocNum ( int  i)