COMBINATORIAL_BLAS  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes
Memory Class Reference

#include <MemoryPool.h>

List of all members.

Public Member Functions

 Memory (char *m_beg, size_t m_size)
char * begaddr ()
char * endaddr ()
bool operator< (const Memory &rhs) const
bool operator== (const Memory &rhs) const

Public Attributes

char * begin
size_t size

Detailed Description

EqualityComparable memory chunk object Two memory chunks are considered equal if either their beginaddr or the endaddr are the same (just to facilitate deallocation)

Definition at line 24 of file MemoryPool.h.


Constructor & Destructor Documentation

Memory::Memory ( char *  m_beg,
size_t  m_size 
)
inline

Definition at line 27 of file MemoryPool.h.


Member Function Documentation

char* Memory::begaddr ( )
inline

Definition at line 30 of file MemoryPool.h.

char* Memory::endaddr ( )
inline

Definition at line 31 of file MemoryPool.h.

bool Memory::operator< ( const Memory rhs) const
inline

Definition at line 33 of file MemoryPool.h.

bool Memory::operator== ( const Memory rhs) const
inline

Definition at line 35 of file MemoryPool.h.


Member Data Documentation

char* Memory::begin

Definition at line 38 of file MemoryPool.h.

size_t Memory::size

Definition at line 39 of file MemoryPool.h.


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