#include <DurableStore.h>
Inheritance diagram for oasys::DurableTable< _Type >:
The interaction with the underlying storage implementation is handled by the DurableTableImpl class.
Definition at line 492 of file DurableStore.h.
Public Member Functions | |
DurableTable (DurableTableImpl *impl, const std::string &name, DurableObjectCache< _Type > *cache) | |
~DurableTable () | |
int | del (const SerializableObject &key) |
Delete a (key,data) pair from the database. | |
size_t | size () |
Return the number of elements in the table. | |
DurableIterator * | itr () |
Return a newly allocated iterator for the table. | |
DurableTableImpl * | impl () |
Return the underlying table implementation. | |
std::string | name () |
Return table name. | |
DurableObjectCache< _Type > * | cache () |
Return pointer to the cache (if any). | |
Protected Member Functions | |
int | cleanup_put_flags (int flags) |
Protected Attributes | |
DurableTableImpl * | impl_ |
std::string | name_ |
DurableObjectCache< _Type > * | cache_ |
Private Member Functions | |
DurableTable () | |
DurableTable (const DurableTable &) |
oasys::DurableTable< _Type >::DurableTable | ( | DurableTableImpl * | impl, | |
const std::string & | name, | |||
DurableObjectCache< _Type > * | cache | |||
) | [inline] |
Definition at line 494 of file DurableStore.h.
oasys::DurableTable< _Type >::~DurableTable | ( | ) | [inline] |
Definition at line 499 of file DurableStore.h.
oasys::DurableTable< _Type >::DurableTable | ( | ) | [private] |
oasys::DurableTable< _Type >::DurableTable | ( | const DurableTable< _Type > & | ) | [private] |
int DurableTable< _Type >::del | ( | const SerializableObject & | key | ) | [inline] |
Delete a (key,data) pair from the database.
Definition at line 935 of file DurableStore.h.
size_t DurableTable< _Type >::size | ( | ) | [inline] |
DurableIterator* oasys::DurableTable< _Type >::itr | ( | ) | [inline] |
Return a newly allocated iterator for the table.
Caller has the responsibility to delete it once finished.
Definition at line 520 of file DurableStore.h.
DurableTableImpl* oasys::DurableTable< _Type >::impl | ( | ) | [inline] |
std::string oasys::DurableTable< _Type >::name | ( | ) | [inline] |
DurableObjectCache<_Type>* oasys::DurableTable< _Type >::cache | ( | ) | [inline] |
int DurableTable< _Type >::cleanup_put_flags | ( | int | flags | ) | [protected] |
Definition at line 957 of file DurableStore.h.
DurableTableImpl* oasys::DurableTable< _Type >::impl_ [protected] |
Definition at line 538 of file DurableStore.h.
std::string oasys::DurableTable< _Type >::name_ [protected] |
Definition at line 539 of file DurableStore.h.
DurableObjectCache<_Type>* oasys::DurableTable< _Type >::cache_ [protected] |
Definition at line 540 of file DurableStore.h.