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

Implementation of the Iterator interface. More...

#include <NCollection_Sequence.hxx>

Inheritance diagram for NCollection_Sequence< TheItemType >::Iterator:
Inheritance graph
[legend]

Public Member Functions

 Iterator (void)
 Empty constructor - for later Init. More...
 
 Iterator (const NCollection_Sequence &theSeq, const Standard_Boolean isStart=Standard_True)
 Constructor with initialisation. More...
 
Iteratoroperator= (const Iterator &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_BaseSequence::Iterator
 Iterator (void)
 Empty constructor. More...
 
 Iterator (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart)
 Constructor with initialisation. More...
 
void Init (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart=Standard_True)
 Initialisation. More...
 
Iteratoroperator= (const Iterator &theOther)
 Assignment. More...
 
void Previous ()
 Previous. More...
 

Additional Inherited Members

- 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 Attributes inherited from NCollection_BaseSequence::Iterator
NCollection_SeqNodemyCurrent
 Pointer to the current node. More...
 

Detailed Description

template<class TheItemType>
class NCollection_Sequence< TheItemType >::Iterator

Implementation of the Iterator interface.

Constructor & Destructor Documentation

template<class TheItemType>
NCollection_Sequence< TheItemType >::Iterator::Iterator ( void  )
inline

Empty constructor - for later Init.

template<class TheItemType>
NCollection_Sequence< TheItemType >::Iterator::Iterator ( const NCollection_Sequence theSeq,
const Standard_Boolean  isStart = Standard_True 
)
inline

Constructor with initialisation.

Member Function Documentation

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

Variable value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

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

Assignment.

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

Constant value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.


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