Overture  Version 25
Classes | Typedefs | Enumerations | Functions
DBase Namespace Reference

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< EntryEntryP
 

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)
 

Detailed Description

a simple variable database for a simple code

Typedef Documentation

Enumeration Type Documentation

traits for each database entry, currently just examples

Enumerator
persistent 

persistent data

distributed 

distributed data

Function Documentation

template<typename T >
bool DBase::can_cast_entry ( Entry &  e)
template<typename T >
bool DBase::can_cast_entry ( EntryP &  e)
template<typename T >
T& DBase::cast_entry ( Entry &  e)
template<typename T >
T& DBase::cast_entry ( EntryP &  e)