DurableObjectCache< _DataType >::iterator Class Reference

#include <DurableObjectCache.h>

List of all members.


Detailed Description

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

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

Definition at line 171 of file DurableObjectCache.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>
DurableObjectCache< _DataType >::iterator::iterator (  )  [inline]

Definition at line 173 of file DurableObjectCache.h.

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

Definition at line 174 of file DurableObjectCache.h.


Member Function Documentation

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

Definition at line 176 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 177 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 178 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 179 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 181 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 187 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.

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

Definition at line 192 of file DurableObjectCache.h.

References DurableObjectCache< _DataType >::iterator::iter_.


Friends And Related Function Documentation

template<typename _DataType>
friend class DurableObjectCache [friend]

Definition at line 198 of file DurableObjectCache.h.


Member Data Documentation

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

Definition at line 199 of file DurableObjectCache.h.

Referenced by DurableObjectCache< _DataType >::iterator::key(), DurableObjectCache< _DataType >::iterator::live(), DurableObjectCache< _DataType >::iterator::object(), DurableObjectCache< _DataType >::iterator::object_size(), DurableObjectCache< _DataType >::iterator::operator!=(), DurableObjectCache< _DataType >::iterator::operator++(), and DurableObjectCache< _DataType >::iterator::operator==().


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