Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SComponentIterator_i.hxx
1 //  File   : SALOMEDS_SComponentIterator_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDS_SCOMPONENTITERATOR_I_H__
6 #define __SALOMEDS_SCOMPONENTITERATOR_I_H__
7
8 // std C++ headers
9 #include <iostream>
10
11 // IDL headers
12 #include <SALOMEconfig.h>
13 #include CORBA_SERVER_HEADER(SALOMEDS)
14 #include <SALOME_GenericObj_i.hh>
15
16 //SALOMEDS headers
17 #include "SALOMEDS_SComponent_i.hxx"
18 #include "SALOMEDSImpl_SComponentIterator.hxx"
19
20 class SALOMEDS_SComponentIterator_i:public virtual POA_SALOMEDS::SComponentIterator,
21                                     public virtual PortableServer::RefCountServantBase,
22                                     public virtual SALOME::GenericObj_i 
23 {
24
25 private:
26
27   CORBA::ORB_ptr                  _orb;
28   SALOMEDSImpl_SComponentIterator _impl;
29
30 public:
31   
32   SALOMEDS_SComponentIterator_i(const SALOMEDSImpl_SComponentIterator& theImpl, CORBA::ORB_ptr);
33   
34   ~SALOMEDS_SComponentIterator_i();
35   
36   virtual void Init();
37   virtual CORBA::Boolean More();
38   virtual void Next();
39   virtual SALOMEDS::SComponent_ptr Value();  
40 };
41 #endif