Salome HOME
e2baa207123ff7890f100c548753c1cb2ef70198
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_ChildIterator_i.hxx
1 //  File   : SALOMEDS_ChildIterator_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDS_CHILDITERATOR_I_H__
6 #define __SALOMEDS_CHILDITERATOR_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 // Cascade headers
17 #include "SALOMEDSImpl_ChildIterator.hxx"
18 #include <stdio.h>
19
20 class SALOMEDS_ChildIterator_i: public virtual POA_SALOMEDS::ChildIterator,
21                                 public virtual PortableServer::RefCountServantBase,
22                                 public virtual SALOME::GenericObj_i
23 {
24 private:
25   CORBA::ORB_ptr                     _orb;
26   Handle(SALOMEDSImpl_ChildIterator) _it;
27 public:
28
29   //! standard constructor  
30   SALOMEDS_ChildIterator_i(const Handle(SALOMEDSImpl_ChildIterator)&, CORBA::ORB_ptr);
31   
32   //! standard destructor
33   ~SALOMEDS_ChildIterator_i();
34   
35   virtual void Init();
36   virtual void InitEx(CORBA::Boolean);
37   virtual CORBA::Boolean More();
38   virtual void Next();
39   virtual SALOMEDS::SObject_ptr Value();
40 };
41 #endif