#include <DurableStore.h>

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 &) | |
| 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] |
| int StaticTypedDurableTable::put | ( | const SerializableObject & | key, | |
| const _Type * | data, | |||
| int | flags | |||
| ) | [inline] |
Definition at line 1320 of file DurableStore.h.
| int StaticTypedDurableTable::get | ( | const SerializableObject & | key, | |
| _Type ** | data | |||
| ) | [inline] |
Definition at line 1339 of file DurableStore.h.
1.5.3