| soma-io
    5.1.2
    | 
This allocator doesn't allocate anything. More...
#include <soma-io/allocator/allocator.h>


| Public Member Functions | |
| virtual | ~NullAllocator () | 
| virtual char * | allocate (size_t n, size_t elemsize, DataSource *datasource) const | 
| virtual void | deallocate (char *ptr, size_t n, size_t sz) const | 
|  Public Member Functions inherited from soma::LowLevelAllocator | |
| virtual | ~LowLevelAllocator () | 
| virtual bool | canDuplicate () const | 
| Static Public Member Functions | |
| static const NullAllocator & | singleton () | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from soma::LowLevelAllocator | |
| LowLevelAllocator () | |
This allocator doesn't allocate anything.
NullAllocator is used to "fake" allocation and use data already 
 allocated (and owned) by other structures 
Definition at line 108 of file allocator.h.
| 
 | virtual | 
| 
 | virtual | 
Implements soma::LowLevelAllocator.
| 
 | virtual | 
Implements soma::LowLevelAllocator.
| 
 | static |