Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SComponentIterator.hxx
1 //  File   : SALOMEDS_SComponentIterator.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDS_SCOMPONENTITERATOR_H__
6 #define __SALOMEDS_SCOMPONENTITERATOR_H__
7
8 #include "SALOMEDSClient.hxx"
9 #include "SALOMEDSImpl_SComponentIterator.hxx"
10
11 // IDL headers
12 #include <SALOMEconfig.h>
13 #include CORBA_SERVER_HEADER(SALOMEDS)
14
15 class SALOMEDS_SComponentIterator: public SALOMEDSClient_SComponentIterator
16 {
17 public:
18   SALOMEDS_SComponentIterator(const SALOMEDSImpl_SComponentIterator& theIterator);
19   SALOMEDS_SComponentIterator(SALOMEDS::SComponentIterator_ptr theIterator);
20   ~SALOMEDS_SComponentIterator();
21
22 private:
23   bool                                    _isLocal;
24   SALOMEDSImpl_SComponentIterator         _local_impl;
25   SALOMEDS::SComponentIterator_var        _corba_impl;
26
27 public:
28   virtual void Init();
29   virtual bool More();
30   virtual void Next();
31   virtual _PTR(SComponent) Value();  
32 };
33 #endif