17 T*
allocate(
unsigned int nr = 1) {
return reinterpret_cast<T*
>(
allocate(nr*
sizeof(T))); }
22 virtual unsigned char*
allocate(
unsigned int size) = 0;
33 unsigned char*
allocate(
unsigned int size);
35 std::vector<unsigned char *>
mem;
50 unsigned char*
allocate(
unsigned int size);
52 std::vector<unsigned char *>
mem;
53 std::vector<unsigned int >
index;
67 unsigned char*
allocate(
unsigned int size);
std::vector< unsigned char * > mem
const unsigned int chunksize
virtual void printSize() const =0
unsigned long int wastedspace
unsigned long int memsize
T * allocate(unsigned int nr=1)
std::vector< unsigned char * > mem
const unsigned int chunksize
unsigned long int memsize
std::vector< unsigned int > index
unsigned char * m_base_ptr