Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_TListIterator< TheItemType > Class Template Reference

#include <NCollection_TListIterator.hxx>

Inheritance diagram for NCollection_TListIterator< TheItemType >:

Public Member Functions

 NCollection_TListIterator () noexcept
 Empty constructor - for later Init.
 NCollection_TListIterator (const NCollection_BaseList &theList) noexcept
 Constructor with initialisation.
bool More () const noexcept
 Check end.
void Next () noexcept
 Make step.
const TheItemType & Value () const noexcept
 Constant Value access.
TheItemType & Value () noexcept
 Non-const Value access.
TheItemType & ChangeValue () const noexcept
 Non-const Value access.
Public Member Functions inherited from NCollection_BaseList::Iterator
 Iterator () noexcept
 Iterator (const NCollection_BaseList &theList) noexcept
void Init (const NCollection_BaseList &theList) noexcept
void Initialize (const NCollection_BaseList &theList) noexcept
bool More () const noexcept
bool operator== (const Iterator &theIt) const noexcept
bool IsEqual (const Iterator &theOther) const noexcept
 Performs comparison of two iterators.

Additional Inherited Members

Data Fields inherited from NCollection_BaseList::Iterator
NCollection_ListNode * myCurrent
NCollection_ListNode * myPrevious
Protected Member Functions inherited from NCollection_BaseList::Iterator
void Init (const NCollection_BaseList &theList, NCollection_ListNode *const thePrev) noexcept

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 ( )
inlinenoexcept

Empty constructor - for later Init.

◆ NCollection_TListIterator() [2/2]

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

Constructor with initialisation.

Member Function Documentation

◆ ChangeValue()

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

Non-const Value access.

◆ More()

template<class TheItemType>
bool NCollection_TListIterator< TheItemType >::More ( ) const
inlinenoexcept

Check end.

◆ Next()

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

Make step.

◆ Value() [1/2]

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

Constant Value access.

◆ Value() [2/2]

template<class TheItemType>
TheItemType & NCollection_TListIterator< TheItemType >::Value ( )
inlinenoexcept

Non-const Value access.


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