soma-io  5.0.5
soma::MappingRWAllocator Class Reference

#include <soma-io/allocator/mappingrw.h>

Inheritance diagram for soma::MappingRWAllocator:
Collaboration diagram for soma::MappingRWAllocator:

Public Member Functions

virtual ~MappingRWAllocator ()
 
virtual char * allocate (size_t n, size_t sz, DataSource *ds) const
 
virtual void deallocate (char *ptr, size_t n, size_t sz) const
 
bool canDuplicate () const
 
- Public Member Functions inherited from soma::LowLevelAllocator
virtual ~LowLevelAllocator ()
 

Static Public Member Functions

static const MappingRWAllocatorsingleton ()
 

Friends

std::ostream & operator<< (std::ostream &os, const MappingRWAllocator &thing)
 

Additional Inherited Members

- Protected Member Functions inherited from soma::LowLevelAllocator
 LowLevelAllocator ()
 

Detailed Description

Definition at line 51 of file mappingrw.h.

Constructor & Destructor Documentation

◆ ~MappingRWAllocator()

virtual soma::MappingRWAllocator::~MappingRWAllocator ( )
virtual

Member Function Documentation

◆ allocate()

virtual char* soma::MappingRWAllocator::allocate ( size_t  n,
size_t  sz,
DataSource ds 
) const
virtual

◆ canDuplicate()

bool soma::MappingRWAllocator::canDuplicate ( ) const
inlinevirtual

Reimplemented from soma::LowLevelAllocator.

Definition at line 59 of file mappingrw.h.

References soma::LowLevelAllocator::LowLevelAllocator(), operator<<, and singleton().

◆ deallocate()

virtual void soma::MappingRWAllocator::deallocate ( char *  ptr,
size_t  n,
size_t  sz 
) const
virtual

◆ singleton()

static const MappingRWAllocator& soma::MappingRWAllocator::singleton ( )
static

Referenced by canDuplicate().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const MappingRWAllocator thing 
)
friend

Referenced by canDuplicate().


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