OCC Main Page | FoundationClasses | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FoundationClasses
TKernel
NCollection


NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator Class Reference

Implementation of the Iterator interface.

#include <NCollection_IndexedDataMap.hxx>

Inheritance diagram for NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator:

Inheritance graph
[legend]

Public Member Functions

 Iterator (void)
 Empty constructor.
 Iterator (const NCollection_IndexedDataMap &theMap)
 Constructor.
virtual Standard_Boolean More (void) const
 Query if the end of collection is reached by iterator.
virtual void Next (void)
 Make a step along the collection.
virtual const TheItemType & Value (void) const
 Value access.
virtual TheItemType & ChangeValue (void) const
 ChangeValue access.
void * operator new (size_t theSize, const Handle(NCollection_BaseAllocator)&theAllocator)
 Operator new for allocating iterators.

Private Attributes

NCollection_IndexedDataMapmyMap
 Pointer to the map being iterated.
Standard_Integer myIndex
 Current index.

template<class TheKeyType, class TheItemType>
class NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator


Constructor & Destructor Documentation

template<class TheKeyType, class TheItemType>
NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::Iterator void   )  [inline]
 

Reimplemented from NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKeyType, class TheItemType>
NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::Iterator const NCollection_IndexedDataMap theMap  )  [inline]
 


Member Function Documentation

template<class TheKeyType, class TheItemType>
virtual TheItemType& NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::ChangeValue void   )  const [inline, virtual]
 

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKeyType, class TheItemType>
virtual Standard_Boolean NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::More void   )  const [inline, virtual]
 

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKeyType, class TheItemType>
virtual void NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::Next void   )  [inline, virtual]
 

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKeyType, class TheItemType>
void* NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::operator new size_t  theSize,
const Handle(NCollection_BaseAllocator)&  theAllocator
[inline]
 

template<class TheKeyType, class TheItemType>
virtual const TheItemType& NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::Value void   )  const [inline, virtual]
 

Implements NCollection_BaseCollection< TheItemType >::Iterator.


Field Documentation

template<class TheKeyType, class TheItemType>
Standard_Integer NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::myIndex [private]
 

template<class TheKeyType, class TheItemType>
NCollection_IndexedDataMap* NCollection_IndexedDataMap< TheKeyType, TheItemType >::Iterator::myMap [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:12:57 2008 for OpenCASCADE by  doxygen 1.4.1