]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDSImpl/SALOMEDSImpl_SComponentIterator.hxx
Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / SALOMEDSImpl / SALOMEDSImpl_SComponentIterator.hxx
1 //  File   : SALOMEDSImpl_SComponentIterator_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDSIMPL_SCOMPONENTITERATOR_H__
6 #define __SALOMEDSIMPL_SCOMPONENTITERATOR_H__
7
8
9 //SALOMEDSImpl headers
10 #include "SALOMEDSImpl_SComponent.hxx"
11
12 // Cascade headers
13 #include <TDocStd_Document.hxx>
14 #include <TDF_ChildIterator.hxx>
15 #include <TDF_Label.hxx>
16 #include <stdio.h>
17
18 class Standard_EXPORT SALOMEDSImpl_SComponentIterator
19 {
20 private:
21
22   TDF_ChildIterator        _it;
23   TDF_Label                _lab;
24
25 public:
26   
27   SALOMEDSImpl_SComponentIterator(const SALOMEDSImpl_SComponentIterator& theIterator) 
28   {
29     _it = theIterator._it;
30     _lab = theIterator._lab;
31   } 
32
33   SALOMEDSImpl_SComponentIterator() {};
34   
35   SALOMEDSImpl_SComponentIterator(const Handle(TDocStd_Document)& theDocument);
36  
37   ~SALOMEDSImpl_SComponentIterator() {};
38   
39   virtual void Init();
40   virtual bool More();
41   virtual void Next();
42   virtual Handle(SALOMEDSImpl_SComponent) Value();  
43 };
44 #endif