Open CASCADE Technology  7.2.0
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...
 
Standard_Boolean More (void) const
 Check end. More...
 
void Next (void)
 Make step. More...
 
const TheItemType & Value (void) const
 Constant Value access. More...
 
TheItemType & Value (void)
 Non-const Value access. More...
 
TheItemType & ChangeValue (void) const
 Non-const 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) const
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators. More...
 

Additional Inherited Members

- Data Fields inherited from NCollection_BaseList::Iterator
NCollection_ListNodemyCurrent
 
NCollection_ListNodemyPrevious
 
- 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

◆ NCollection_TListIterator() [1/2]

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

Empty constructor - for later Init.

◆ NCollection_TListIterator() [2/2]

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

Constructor with initialisation.

Member Function Documentation

◆ ChangeValue()

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

Non-const Value access.

◆ More()

template<class TheItemType >
Standard_Boolean NCollection_TListIterator< TheItemType >::More ( void  ) const
inline

Check end.

◆ Next()

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

Make step.

◆ Value() [1/2]

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

Constant Value access.

◆ Value() [2/2]

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

Non-const Value access.


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