#include <GlobalDefinitions.h>
Inheritance diagram for Allocator< T >:


Public Types | |
| typedef T | MyType |
Public Member Functions | |
| Allocator (T **ptr, const string &name, ostream &monStream=cerr) | |
| virtual Allocator< T > * | clone (T **ptr, const string &name, ostream &monStream)=0 |
| virtual void | allocate (unsigned long size)=0 |
| virtual void | allocateAndZero (unsigned long size)=0 |
| virtual void | load (unsigned long size)=0 |
| virtual void | save ()=0 |
| virtual void | deallocate ()=0 |
| virtual | ~Allocator () |
Public Attributes | |
| T ** | ptr_ |
| string | name_ |
| unsigned long | size_ |
| bool | isAllocated_ |
| ostream & | monStream_ |
Definition at line 726 of file GlobalDefinitions.h.
Definition at line 729 of file GlobalDefinitions.h.
| Allocator< T >::Allocator | ( | T ** | ptr, | |
| const string & | name, | |||
| ostream & | monStream = cerr | |||
| ) | [inline] |
Definition at line 731 of file GlobalDefinitions.h.
00731 : 00732 ptr_(ptr), name_(name), size_(0), isAllocated_(false), 00733 monStream_( monStream ) 00734 {}
| virtual Allocator<T>* Allocator< T >::clone | ( | T ** | ptr, | |
| const string & | name, | |||
| ostream & | monStream | |||
| ) | [pure virtual] |
Implemented in AllocatorLocal< T >, AllocatorLocal< PositionInHitList >, AllocatorLocal< PositionPacked >, and AllocatorLocal< PositionInDatabase >.
Referenced by HashTableView< PositionInDatabase, HashTable >::HashTableView(), and HashTableGeneric::setupHitList().
Here is the caller graph for this function:

| virtual void Allocator< T >::allocate | ( | unsigned long | size | ) | [pure virtual] |
Implemented in AllocatorLocal< T >, AllocatorLocal< PositionInHitList >, AllocatorLocal< PositionPacked >, and AllocatorLocal< PositionInDatabase >.
Referenced by HashTableView< PositionInDatabase, HashTable >::allocateHitList().
Here is the caller graph for this function:

| virtual void Allocator< T >::allocateAndZero | ( | unsigned long | size | ) | [pure virtual] |
Implemented in AllocatorLocal< T >, AllocatorLocal< PositionInHitList >, AllocatorLocal< PositionPacked >, and AllocatorLocal< PositionInDatabase >.
Referenced by HashTableGeneric::setupHitList(), and HashTableGeneric::setupPointerArray().
Here is the caller graph for this function:

| virtual void Allocator< T >::load | ( | unsigned long | size | ) | [pure virtual] |
Implemented in AllocatorLocal< T >, AllocatorLocal< PositionInHitList >, AllocatorLocal< PositionPacked >, and AllocatorLocal< PositionInDatabase >.
Referenced by HashTableView< PositionInDatabase, HashTable >::loadHitList().
Here is the caller graph for this function:

| virtual void Allocator< T >::save | ( | ) | [pure virtual] |
Implemented in AllocatorLocal< T >, AllocatorLocal< PositionInHitList >, AllocatorLocal< PositionPacked >, and AllocatorLocal< PositionInDatabase >.
Referenced by HashTableGeneric::saveHashTable(), and HashTableView< PositionInDatabase, HashTable >::saveHitList().
Here is the caller graph for this function:

| virtual void Allocator< T >::deallocate | ( | ) | [pure virtual] |
Definition at line 757 of file GlobalDefinitions.h.
Referenced by AllocatorLocal< PositionInDatabase >::allocateAndZero(), AllocatorLocal< PositionInDatabase >::load(), and AllocatorLocal< PositionInDatabase >::save().
Definition at line 758 of file GlobalDefinitions.h.
Referenced by AllocatorLocal< PositionInDatabase >::load(), and AllocatorLocal< PositionInDatabase >::save().
Definition at line 759 of file GlobalDefinitions.h.
Referenced by AllocatorLocal< PositionInDatabase >::allocate(), AllocatorLocal< PositionInDatabase >::allocateAndZero(), AllocatorLocal< PositionInDatabase >::load(), and AllocatorLocal< PositionInDatabase >::save().
| bool Allocator< T >::isAllocated_ |
Definition at line 760 of file GlobalDefinitions.h.
Referenced by AllocatorLocal< PositionInDatabase >::allocate(), and AllocatorLocal< PositionInDatabase >::deallocate().
| ostream& Allocator< T >::monStream_ |
Definition at line 761 of file GlobalDefinitions.h.
Referenced by AllocatorLocal< PositionInDatabase >::load(), and AllocatorLocal< PositionInDatabase >::save().
1.5.2