OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / coss / RelationshipIterator_impl.h
1 // -*- c++ -*-
2 /*
3  *  Relationship Service for MICO
4  *  Copyright (C) 1998-99 Karel Gardas 
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2 of the License, or
9  *  (at your option) any later version.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  *
20  *  Send comments and/or bug reports to:
21  *                 mico@informatik.uni-frankfurt.de
22  *  or to my private e-mail:
23  *                 gardask@alpha.inf.upol.cz
24  */
25
26
27 #include "CosRelationships.h"
28
29 #ifndef __RelationshipIterator_impl_h__
30 #define __RelationshipIterator_impl_h__
31
32
33 class RelationshipIterator_impl 
34   : virtual public POA_CosRelationships::RelationshipIterator
35 {
36   CosRelationships::RelationshipHandles rel_handles;
37   int index;
38 public:
39   RelationshipIterator_impl (CosRelationships::RelationshipHandles);
40   ~RelationshipIterator_impl ();
41   virtual CORBA::Boolean next_one (CosRelationships::RelationshipHandle_out);
42   virtual CORBA::Boolean next_n (CORBA::ULong, 
43                                  CosRelationships::RelationshipHandles_out);
44   virtual void destroy();
45
46 };
47
48
49 // class RelationshipIteratorLoader : public CORBA::BOAObjectRestorer
50 // { 
51 // public:
52 //   CORBA::Boolean restore (CORBA::Object_ptr);
53 // }; 
54
55
56 #endif