Overture
Version 25
|
the actual container class that hold data in the database More...
#include <DBase.hh>
Public Member Functions | |
EXPLICIT | SpecializedEntry (const T &e, void(*dd)(T &)=0) |
create a new entry with data and a name | |
EXPLICIT | SpecializedEntry (void(*dd)(T &)) |
EXPLICIT | SpecializedEntry () |
virtual | ~SpecializedEntry () |
clean up this instance, calling the entry's destructor callback if present | |
T & | operator* () |
return a reference to the data | |
const T & | operator* () const |
return a const reference to the data | |
Public Member Functions inherited from DBase::Entry | |
Entry () | |
create a new entry with name name, no traits are assigned | |
virtual | ~Entry () |
clean up the entry (nothing is done in the base class) | |
Additional Inherited Members | |
Public Attributes inherited from DBase::Entry | |
unsigned int | traits |
traits for a given entry | |
the actual container class that hold data in the database
|
inline |
create a new entry with data and a name
e | a COPY of this data will be stored in the database |
dd | an optional callback to destroy the data upon deletion of this entry |
|
inline |
|
inline |
|
inlinevirtual |
clean up this instance, calling the entry's destructor callback if present
|
inline |
return a reference to the data
|
inline |
return a const reference to the data