Salome HOME
Integrate missing files
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_UseCaseIterator_i.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 //  File   : SALOMEDS_UseCaseIterator_i.hxx
21 //  Author : Sergey RUIN
22 //  Module : SALOME
23
24 #ifndef __SALOMEDS_USECASEITERATOR_I_H__
25 #define __SALOMEDS_USECASEITERATOR_I_H__
26
27 // std C++ headers
28 #include <iostream>
29
30 // IDL headers
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(SALOMEDS)
33 #include <SALOME_GenericObj_i.hh>
34
35 #include "SALOMEDSImpl_UseCaseIterator.hxx"
36
37 class SALOMEDS_UseCaseIterator_i: public virtual POA_SALOMEDS::UseCaseIterator,
38                                   public virtual PortableServer::ServantBase, 
39                                   public virtual SALOME::GenericObj_i
40 {
41 private:
42   CORBA::ORB_ptr                        _orb;
43   Handle(SALOMEDSImpl_UseCaseIterator) _impl;
44
45 public:
46
47   //! standard constructor  
48   SALOMEDS_UseCaseIterator_i(const Handle(SALOMEDSImpl_UseCaseIterator)& theImpl, 
49                              CORBA::ORB_ptr);
50   
51   //! standard destructor
52   ~SALOMEDS_UseCaseIterator_i();
53   
54   virtual void Init(CORBA::Boolean);
55   virtual CORBA::Boolean More();
56   virtual void Next();
57   virtual SALOMEDS::SObject_ptr Value();
58 };
59 #endif