StaticTypedDurableTable Class Reference

#include <DurableTable.h>

Inheritance diagram for StaticTypedDurableTable:

DurableTable< SerializableObject > List of all members.

Detailed Description

Class for a durable table that can store objects which share no base class and have no typecode.

This is used for tables (such as a property table) which have specified compile time programmer defined types and have no need for creating a class hierarchy of serializable types to handle. (e.g. a table containing both strings and sequence s)

The underlying DurableObjectCache is specialized with SerializableObject.

Definition at line 238 of file DurableTable.h.

Public Member Functions

 StaticTypedDurableTable (DurableTableImpl *impl, const std::string &name)
 Constructor - We don't support caches for now.
template<typename _Type>
int put (const SerializableObject &key, const _Type *data, int flags)
template<typename _Type>
int get (const SerializableObject &key, _Type **data)

Private Member Functions

 StaticTypedDurableTable (const StaticTypedDurableTable &)


Constructor & Destructor Documentation

StaticTypedDurableTable::StaticTypedDurableTable ( DurableTableImpl impl,
const std::string &  name 
) [inline]

Constructor - We don't support caches for now.

These tables are usually small in size and have contents which need to be immediately durable, so this should not be a problem.

Definition at line 245 of file DurableTable.h.

StaticTypedDurableTable::StaticTypedDurableTable ( const StaticTypedDurableTable  )  [private]


Member Function Documentation

template<typename _Type>
int StaticTypedDurableTable::put ( const SerializableObject &  key,
const _Type *  data,
int  flags 
)

template<typename _Type>
int StaticTypedDurableTable::get ( const SerializableObject &  key,
_Type **  data 
)


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:03 2006 for DTN Reference Implementation by  doxygen 1.5.1