ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
pool::DbHeap Class Reference

Db objects: class DbHeap. More...

#include <DbHeap.h>

Collaboration diagram for pool::DbHeap:

Public Member Functions

 DbHeap ()
 Standard Constructor. More...
 
virtual ~DbHeap ()
 Standard Destructor. More...
 

Static Public Member Functions

static size_t guardSize ()
 Access the object guard size. More...
 
static Token::OID_toid (DbObject *pObj)
 Access the offset of an object. More...
 
static const Token::OID_toid (const DbObject *pObj)
 
static DbContainercontainer (DbObject *pObj)
 Access the container of an object. More...
 
static const DbContainercontainer (const DbObject *pObj)
 
static DbStatus free (void *ptr, DbContainer *cntH)
 Free an object, which was initially allocated from the heap. More...
 
static DbObjectallocate (size_t siz, DbContainer *cntH, const Token::OID_t *linkH, DbObjectHandle< DbObject > *objH)
 Free an object on the heap. More...
 

Detailed Description

Db objects: class DbHeap.

Description: Handle managing a persistent memory.

Author
M.Frank
Version
1.0

Definition at line 38 of file DbHeap.h.

Constructor & Destructor Documentation

◆ DbHeap()

pool::DbHeap::DbHeap ( )

Standard Constructor.

◆ ~DbHeap()

virtual pool::DbHeap::~DbHeap ( )
virtual

Standard Destructor.

Member Function Documentation

◆ allocate()

static DbObject* pool::DbHeap::allocate ( size_t  siz,
DbContainer cntH,
const Token::OID_t linkH,
DbObjectHandle< DbObject > *  objH 
)
static

Free an object on the heap.

◆ container() [1/2]

static const DbContainer& pool::DbHeap::container ( const DbObject pObj)
static

◆ container() [2/2]

static DbContainer& pool::DbHeap::container ( DbObject pObj)
static

Access the container of an object.

◆ free()

static DbStatus pool::DbHeap::free ( void *  ptr,
DbContainer cntH 
)
static

Free an object, which was initially allocated from the heap.

◆ guardSize()

static size_t pool::DbHeap::guardSize ( )
static

Access the object guard size.

◆ oid() [1/2]

static const Token::OID_t& pool::DbHeap::oid ( const DbObject pObj)
static

◆ oid() [2/2]

static Token::OID_t& pool::DbHeap::oid ( DbObject pObj)
static

Access the offset of an object.


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