Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
NCollection_TListIterator< TheItemType > Class Template Reference

#include <NCollection_TListIterator.hxx>

Inheritance diagram for NCollection_TListIterator< TheItemType >:
Inheritance graph
[legend]

Public Member Functions

 NCollection_TListIterator (void)
 Empty constructor - for later Init. More...
 
 NCollection_TListIterator (const NCollection_BaseList &theList)
 Constructor with initialisation. More...
 
NCollection_TListIteratoroperator= (const NCollection_TListIterator &theIt)
 Assignment. More...
 
virtual Standard_Boolean More (void) const
 Check end. More...
 
virtual void Next (void)
 Make step. More...
 
virtual const TheItemType & Value (void) const
 Constant Value access. More...
 
virtual TheItemType & ChangeValue (void) const
 Variable Value access. More...
 
- Public Member Functions inherited from NCollection_BaseList::Iterator
 Iterator (void)
 
 Iterator (const NCollection_BaseList &theList)
 
void Init (const NCollection_BaseList &theList)
 
void Initialize (const NCollection_BaseList &theList)
 
Standard_Boolean More (void) const
 
Iteratoroperator= (const Iterator &theIt)
 
Standard_Boolean operator== (const Iterator &theIt)
 

Additional Inherited Members

- Data Fields inherited from NCollection_BaseList::Iterator
NCollection_ListNodemyCurrent
 
NCollection_ListNodemyPrevious
 
- Protected Member Functions inherited from NCollection_BaseCollection< TheItemType >::Iterator
 Iterator (void)
 Empty constructor. More...
 
virtual ~Iterator (void)
 Virtual destructor is necessary for classes with virtual methods. More...
 
const Iteratoroperator= (const Iterator &)
 operator= is prohibited More...
 
 Iterator (const Iterator &)
 Copy constructor **. More...
 
- Protected Member Functions inherited from NCollection_BaseList::Iterator
void Init (const NCollection_BaseList &theList, NCollection_ListNode *const thePrev)
 

Detailed Description

template<class TheItemType>
class NCollection_TListIterator< TheItemType >

Purpose: This Iterator class iterates on BaseList of TListNode and is instantiated in List/Set/Queue/Stack Remark: TListIterator is internal class

Constructor & Destructor Documentation

template<class TheItemType >
NCollection_TListIterator< TheItemType >::NCollection_TListIterator ( void  )
inline

Empty constructor - for later Init.

template<class TheItemType >
NCollection_TListIterator< TheItemType >::NCollection_TListIterator ( const NCollection_BaseList theList)
inline

Constructor with initialisation.

Member Function Documentation

template<class TheItemType >
virtual TheItemType& NCollection_TListIterator< TheItemType >::ChangeValue ( void  ) const
inlinevirtual

Variable Value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheItemType >
virtual Standard_Boolean NCollection_TListIterator< TheItemType >::More ( void  ) const
inlinevirtual
template<class TheItemType >
virtual void NCollection_TListIterator< TheItemType >::Next ( void  )
inlinevirtual
template<class TheItemType >
NCollection_TListIterator& NCollection_TListIterator< TheItemType >::operator= ( const NCollection_TListIterator< TheItemType > &  theIt)
inline

Assignment.

template<class TheItemType >
virtual const TheItemType& NCollection_TListIterator< TheItemType >::Value ( void  ) const
inlinevirtual

Constant Value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.


The documentation for this class was generated from the following file: