Overture
Version 25
|
a simple variable database for a simple code More...
Classes | |
class | DBErr |
Exception class for the simple database. More... | |
class | Entry |
a base class for all entries into the database More... | |
class | SpecializedEntry |
the actual container class that hold data in the database More... | |
class | DataBase |
the actual database class, uses a stl map for actual data storage/retrieval More... | |
Typedefs | |
typedef KK::sptr< Entry > | EntryP |
Enumerations | |
enum | EntryTrait { persistent =0x1, distributed =persistent<<1 } |
traits for each database entry, currently just examples More... | |
Functions | |
template<typename T > | |
bool | can_cast_entry (Entry &e) |
template<typename T > | |
bool | can_cast_entry (EntryP &e) |
template<typename T > | |
T & | cast_entry (Entry &e) |
template<typename T > | |
T & | cast_entry (EntryP &e) |
a simple variable database for a simple code
typedef KK::sptr<Entry> DBase::EntryP |
enum DBase::EntryTrait |
bool DBase::can_cast_entry | ( | Entry & | e | ) |
bool DBase::can_cast_entry | ( | EntryP & | e | ) |
References KK::sptr_dynamic_cast().
T& DBase::cast_entry | ( | Entry & | e | ) |
T& DBase::cast_entry | ( | EntryP & | e | ) |
References KK::sptr_dynamic_cast().