commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::DefaultListAllocator< T > Class Template Reference

#include <Allocator.h>

Public Types

typedef T value_type
 

Static Public Member Functions

static void constructor (Byte *data, const Byte *value)
 
static void destructor (Byte *data)
 
static int comparator (const Dummy &v1, const Dummy &v2)
 

Detailed Description

template<typename T>
class commore::DefaultListAllocator< T >

Generic commore item list allocator using inlined definition

Allocator for comore collections

Member Typedef Documentation

template<typename T >
typedef T commore::DefaultListAllocator< T >::value_type

Member Function Documentation

template<typename T >
static int commore::DefaultListAllocator< T >::comparator ( const Dummy &  v1,
const Dummy &  v2 
)
inlinestatic

Compare two item list

template<typename T >
static void commore::DefaultListAllocator< T >::constructor ( Byte data,
const Byte value 
)
inlinestatic

Create a commore item list using inlined constructor call

Parameters
datapointer to allocated memory
valuepointer copy constructor data
template<typename T >
static void commore::DefaultListAllocator< T >::destructor ( Byte data)
inlinestatic

Destroy commore item list using ilined destructor

Parameters
datapointer to allocaded memory

The documentation for this class was generated from the following file: