|
SALOME - SMESH
|
#include <SMESH_Array2.hxx>


Public Member Functions | |
| Iterator (void) | |
| Empty constructor - for later Init. | |
| Iterator (const SMESH_Array2 &theArray) | |
| Constructor with initialisation. | |
| void | Init (const SMESH_Array2 &theArray) |
| Initialisation. | |
| virtual Standard_Boolean | More (void) const |
| Check end. | |
| virtual void | Next (void) |
| Make step. | |
| virtual const TheItemType & | Value (void) const |
| Constant value access. | |
| virtual TheItemType & | ChangeValue (void) const |
| Variable value access. | |
| void * | operator new (size_t theSize, const Handle(NCollection_BaseAllocator)&theAllocator) |
| Operator new for allocating iterators. | |
Private Attributes | |
| Standard_Integer | myCurrent |
| Index of the current item. | |
| Standard_Integer | mySize |
| Total amount of items. | |
| SMESH_Array2 * | myArray |
| Pointer to the array being iterated. | |
| SMESH_Array2::Iterator::Iterator | ( | void | ) |
Empty constructor - for later Init.
Definition at line 45 of file SMESH_Array2.hxx.
| SMESH_Array2::Iterator::Iterator | ( | const SMESH_Array2 & | theArray | ) |
Constructor with initialisation.
Definition at line 50 of file SMESH_Array2.hxx.
| void SMESH_Array2::Iterator::Init | ( | const SMESH_Array2 & | theArray | ) |
Initialisation.
Definition at line 55 of file SMESH_Array2.hxx.
References myCurrent, mySize, SMESH_Array2::Length(), and myArray.

| virtual Standard_Boolean SMESH_Array2::Iterator::More | ( | void | ) | const [virtual] |
| virtual void SMESH_Array2::Iterator::Next | ( | void | ) | [virtual] |
| virtual const TheItemType& SMESH_Array2::Iterator::Value | ( | void | ) | const [virtual] |
Constant value access.
Definition at line 68 of file SMESH_Array2.hxx.
References myArray, SMESH_Array2::myStart, and myCurrent.
| virtual TheItemType& SMESH_Array2::Iterator::ChangeValue | ( | void | ) | const [virtual] |
Variable value access.
Definition at line 71 of file SMESH_Array2.hxx.
References myArray, SMESH_Array2::myStart, and myCurrent.
| void* SMESH_Array2::Iterator::operator new | ( | size_t | theSize, |
| const Handle(NCollection_BaseAllocator)& | theAllocator | ||
| ) |
Operator new for allocating iterators.
Definition at line 74 of file SMESH_Array2.hxx.
Standard_Integer SMESH_Array2::Iterator::myCurrent [private] |
Index of the current item.
Definition at line 78 of file SMESH_Array2.hxx.
Referenced by Init(), More(), Next(), Value(), and ChangeValue().
Standard_Integer SMESH_Array2::Iterator::mySize [private] |
Total amount of items.
Definition at line 79 of file SMESH_Array2.hxx.
SMESH_Array2* SMESH_Array2::Iterator::myArray [private] |
Pointer to the array being iterated.
Definition at line 80 of file SMESH_Array2.hxx.
Referenced by Init(), Value(), and ChangeValue().