Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMDS / SMDS_MeshElementsIterator.lxx
1 // File:        SMDS_MeshElementsIterator.lxx
2 // Created:     Thu Jan 24 17:06:47 2002
3 // Author:      Jean-Michel BOULCOURT
4 //              <jmb@coulox.paris1.matra-dtv.fr>
5
6
7 #include <Standard_NoSuchObject.hxx>
8
9 //=======================================================================
10 //function : More
11 //purpose  : 
12 //=======================================================================
13
14 inline Standard_Boolean SMDS_MeshElementsIterator::More() const
15 {
16   return myMapIterator.More();
17 }
18
19 //=======================================================================
20 //function : Value
21 //purpose  : 
22 //=======================================================================
23
24 inline const Handle(SMDS_MeshElement)& SMDS_MeshElementsIterator::Value() const
25 {
26   Standard_NoSuchObject_Raise_if(!More(),"SMDS_MeshElementsIterator::Value");  
27   return myCurrentMeshElement;
28 }