oasys::DurableObjectCache< _DataType >::iterator Class Reference

#include <DurableStore.h>

List of all members.


Detailed Description

template<typename _DataType>
class oasys::DurableObjectCache< _DataType >::iterator

Class to represent a cache iterator and still hide the implementation details of the cache table structure.

Definition at line 1036 of file DurableStore.h.

Public Member Functions

 iterator ()
 iterator (const typename CacheTable::iterator &i)
const std::string & key ()
bool live ()
const _DataType * object ()
size_t object_size ()
const iteratoroperator++ ()
bool operator== (const iterator &other)
bool operator!= (const iterator &other)

Protected Attributes

CacheTable::iterator iter_

Friends

class DurableObjectCache


Constructor & Destructor Documentation

template<typename _DataType>
oasys::DurableObjectCache< _DataType >::iterator::iterator (  )  [inline]

Definition at line 1038 of file DurableStore.h.

template<typename _DataType>
oasys::DurableObjectCache< _DataType >::iterator::iterator ( const typename CacheTable::iterator &  i  )  [inline]

Definition at line 1039 of file DurableStore.h.


Member Function Documentation

template<typename _DataType>
const std::string& oasys::DurableObjectCache< _DataType >::iterator::key (  )  [inline]

Definition at line 1041 of file DurableStore.h.

template<typename _DataType>
bool oasys::DurableObjectCache< _DataType >::iterator::live (  )  [inline]

Definition at line 1042 of file DurableStore.h.

template<typename _DataType>
const _DataType* oasys::DurableObjectCache< _DataType >::iterator::object (  )  [inline]

Definition at line 1043 of file DurableStore.h.

template<typename _DataType>
size_t oasys::DurableObjectCache< _DataType >::iterator::object_size (  )  [inline]

Definition at line 1044 of file DurableStore.h.

template<typename _DataType>
const iterator& oasys::DurableObjectCache< _DataType >::iterator::operator++ (  )  [inline]

Definition at line 1046 of file DurableStore.h.

template<typename _DataType>
bool oasys::DurableObjectCache< _DataType >::iterator::operator== ( const iterator other  )  [inline]

Definition at line 1052 of file DurableStore.h.

template<typename _DataType>
bool oasys::DurableObjectCache< _DataType >::iterator::operator!= ( const iterator other  )  [inline]

Definition at line 1057 of file DurableStore.h.


Friends And Related Function Documentation

template<typename _DataType>
friend class DurableObjectCache [friend]

Definition at line 1063 of file DurableStore.h.


Member Data Documentation

template<typename _DataType>
CacheTable::iterator oasys::DurableObjectCache< _DataType >::iterator::iter_ [protected]

Definition at line 1064 of file DurableStore.h.


The documentation for this class was generated from the following file:
Generated on Thu Jun 7 12:54:36 2007 for DTN Reference Implementation by  doxygen 1.5.1