B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
tape_allocator Class Reference

#include <tape_allocator.h>

Public Member Functions

char * alloc (int size)
 
template<class ObjT >
ObjT * alloc ()
 
char * allocAndCopy (const char *data, int size)
 
 tape_allocator ()
 
 ~tape_allocator ()
 

Static Public Attributes

static const int CHUNK_SIZE = 4096
 

Constructor & Destructor Documentation

tape_allocator::tape_allocator ( )
inline
tape_allocator::~tape_allocator ( )
inline

Member Function Documentation

char* tape_allocator::alloc ( int  size)
inline

References CHUNK_SIZE.

Referenced by CmiProductCatalog::addSymbol().

template<class ObjT >
ObjT* tape_allocator::alloc ( )
inline

Referenced by allocAndCopy().

char* tape_allocator::allocAndCopy ( const char *  data,
int  size 
)
inline

References alloc(), and MEMCPY.

Member Data Documentation

const int tape_allocator::CHUNK_SIZE = 4096
static

Referenced by alloc().