soma-io  5.0.5
soma::MappingCopyAllocator Class Reference

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

Inheritance diagram for soma::MappingCopyAllocator:
Collaboration diagram for soma::MappingCopyAllocator:

Public Member Functions

virtual ~MappingCopyAllocator ()
 
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 MappingCopyAllocatorsingleton ()
 

Friends

std::ostream & operator<< (std::ostream &, const MappingCopyAllocator &)
 

Additional Inherited Members

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

Detailed Description

Definition at line 52 of file mappingcopy.h.

Constructor & Destructor Documentation

◆ ~MappingCopyAllocator()

virtual soma::MappingCopyAllocator::~MappingCopyAllocator ( )
virtual

Member Function Documentation

◆ allocate()

virtual char* soma::MappingCopyAllocator::allocate ( size_t  n,
size_t  elemsize,
DataSource datasource 
) const
virtual

◆ deallocate()

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

◆ singleton()

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

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const MappingCopyAllocator  
)
friend

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