Back to index

salome-smesh  6.5.0
Public Member Functions | Protected Attributes
SMDS_VolumeOfNodes_MyIterator Class Reference

Iterator on node of volume. More...

Inheritance diagram for SMDS_VolumeOfNodes_MyIterator:
Inheritance graph
[legend]
Collaboration diagram for SMDS_VolumeOfNodes_MyIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SMDS_VolumeOfNodes_MyIterator (const SMDS_MeshNode *const *s, int l)
virtual void init (const VALUE_SET_ITERATOR &begin, const VALUE_SET_ITERATOR &end)
 Initialization.
virtual bool more ()
 Return true if and only if there are other object in this iterator.
virtual VALUE next ()
 Return the current object and step to the next one.
virtual void remove ()
 Delete the current element and step to the next one.

Protected Attributes

VALUE_SET_ITERATOR _beg
VALUE_SET_ITERATOR _end

Detailed Description

Iterator on node of volume.

Definition at line 181 of file SMDS_VolumeOfNodes.cxx.


Constructor & Destructor Documentation

SMDS_VolumeOfNodes_MyIterator::SMDS_VolumeOfNodes_MyIterator ( const SMDS_MeshNode *const *  s,
int  l 
) [inline]

Definition at line 184 of file SMDS_VolumeOfNodes.cxx.

                                                                     :
    SMDS_NodeArrayElemIterator( s, & s[ l ]) {}

Member Function Documentation

template<typename VALUE, typename VALUE_SET_ITERATOR, typename ACCESOR = SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>>
virtual void SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::init ( const VALUE_SET_ITERATOR &  begin,
const VALUE_SET_ITERATOR &  end 
) [inline, virtual, inherited]

Initialization.

Definition at line 75 of file SMDS_SetIterator.hxx.

  { _beg = begin; _end = end; }

Here is the caller graph for this function:

template<typename VALUE, typename VALUE_SET_ITERATOR, typename ACCESOR = SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>>
virtual bool SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::more ( ) [inline, virtual, inherited]

Return true if and only if there are other object in this iterator.

Implements SMDS_Iterator< VALUE >.

Definition at line 80 of file SMDS_SetIterator.hxx.

{ return _beg != _end; }

Here is the caller graph for this function:

template<typename VALUE, typename VALUE_SET_ITERATOR, typename ACCESOR = SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>>
virtual VALUE SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::next ( ) [inline, virtual, inherited]

Return the current object and step to the next one.

Implements SMDS_Iterator< VALUE >.

Definition at line 83 of file SMDS_SetIterator.hxx.

{ return ACCESOR::value( _beg++ ); }

Here is the caller graph for this function:

template<typename VALUE>
virtual void SMDS_Iterator< VALUE >::remove ( ) [inline, virtual, inherited]

Delete the current element and step to the next one.

Definition at line 44 of file SMDS_Iterator.hxx.

{}

Member Data Documentation

template<typename VALUE, typename VALUE_SET_ITERATOR, typename ACCESOR = SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>>
VALUE_SET_ITERATOR SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::_beg [protected, inherited]

Definition at line 68 of file SMDS_SetIterator.hxx.

template<typename VALUE, typename VALUE_SET_ITERATOR, typename ACCESOR = SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>>
VALUE_SET_ITERATOR SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::_end [protected, inherited]

Definition at line 68 of file SMDS_SetIterator.hxx.


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