
Public Member Functions | |
| SMDS_LinearEdge_MyNodeIterator (const SMDS_MeshNode *const *nodes) | |
| bool | more () |
| Return true if and only if there are other object in this iterator. | |
| const SMDS_MeshElement * | next () |
| Return the current object and step to the next one. | |
| virtual void | remove () |
| Delete the current element and step to the next one. | |
Private Attributes | |
| const SMDS_MeshNode *const | myNodes |
| int | myIndex |
Definition at line 71 of file SMDS_LinearEdge.cxx.
| SMDS_LinearEdge_MyNodeIterator.SMDS_LinearEdge_MyNodeIterator | ( | const SMDS_MeshNode *const * | nodes | ) |
Definition at line 76 of file SMDS_LinearEdge.cxx.
| bool SMDS_LinearEdge_MyNodeIterator.more | ( | ) | [virtual] |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
Definition at line 81 of file SMDS_LinearEdge.cxx.
{
return myIndex < 2;
}
| const SMDS_MeshElement* SMDS_LinearEdge_MyNodeIterator.next | ( | ) | [virtual] |
Return the current object and step to the next one.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
Definition at line 86 of file SMDS_LinearEdge.cxx.
| virtual void SMDS_Iterator< const SMDS_MeshElement * >.remove | ( | ) | [virtual, inherited] |
Delete the current element and step to the next one.
Definition at line 44 of file SMDS_Iterator.hxx.
{}
int SMDS_LinearEdge_MyNodeIterator.myIndex [private] |
Definition at line 74 of file SMDS_LinearEdge.cxx.
const SMDS_MeshNode* const SMDS_LinearEdge_MyNodeIterator.myNodes [private] |
Definition at line 73 of file SMDS_LinearEdge.cxx.