Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TopExp / TopExp_Explorer.lxx
1 // File:        TopExp_Explorer.lxx
2 // Created:     Mon Jan 18 18:05:05 1993
3 // Author:      Remi LEQUETTE
4 //              <rle@phylox>
5
6 #include <TopoDS_Iterator.hxx>
7
8 //=======================================================================
9 //function : More
10 //purpose  : 
11 //=======================================================================
12
13 inline Standard_Boolean  TopExp_Explorer::More()const 
14 {
15   return hasMore;
16 }
17
18
19 //=======================================================================
20 //function : Depth
21 //purpose  : 
22 //=======================================================================
23
24 inline Standard_Integer  TopExp_Explorer::Depth()const 
25 {
26   return myTop;
27 }
28
29
30 //=======================================================================
31 //function : Clear
32 //purpose  : 
33 //=======================================================================
34
35 inline void  TopExp_Explorer::Clear()
36 {
37   hasMore = Standard_False;
38   if(myTop >0) {
39     for(int i=1;i<= myTop; i++)
40       myStack[i].~TopoDS_Iterator();
41   }
42   myTop = 0;
43 }