oasys::StaticTypedDurableTable Class Reference

#include <DurableStore.h>

Inheritance diagram for oasys::StaticTypedDurableTable:

oasys::DurableTable< _Type >

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 601 of file DurableStore.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

oasys::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 608 of file DurableStore.h.

oasys::StaticTypedDurableTable::StaticTypedDurableTable ( const StaticTypedDurableTable  )  [private]


Member Function Documentation

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

Definition at line 1320 of file DurableStore.h.

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

Definition at line 1339 of file DurableStore.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:43:54 2007 for DTN Reference Implementation by  doxygen 1.5.3