COMBINATORIAL_BLAS 1.6
Loading...
Searching...
No Matches
combblas::Memory Class Reference

#include <MemoryPool.h>

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
 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 42 of file MemoryPool.h.

Constructor & Destructor Documentation

◆ Memory() [1/2]

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

Definition at line 45 of file MemoryPool.h.

◆ Memory() [2/2]

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

Definition at line 45 of file MemoryPool.h.

Member Function Documentation

◆ begaddr() [1/2]

char * combblas::Memory::begaddr ( )
inline

Definition at line 48 of file MemoryPool.h.

◆ begaddr() [2/2]

char * combblas::Memory::begaddr ( )
inline

Definition at line 48 of file MemoryPool.h.

◆ endaddr() [1/2]

char * combblas::Memory::endaddr ( )
inline

Definition at line 49 of file MemoryPool.h.

◆ endaddr() [2/2]

char * combblas::Memory::endaddr ( )
inline

Definition at line 49 of file MemoryPool.h.

◆ operator<() [1/2]

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

Definition at line 51 of file MemoryPool.h.

◆ operator<() [2/2]

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

Definition at line 51 of file MemoryPool.h.

◆ operator==() [1/2]

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

Definition at line 53 of file MemoryPool.h.

◆ operator==() [2/2]

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

Definition at line 53 of file MemoryPool.h.

Member Data Documentation

◆ begin

char * combblas::Memory::begin

Definition at line 56 of file MemoryPool.h.

◆ size

size_t combblas::Memory::size

Definition at line 57 of file MemoryPool.h.


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