Salome HOME
NRI : Update in order to search MODULES documentation and open active MODULE document...
[modules/kernel.git] / src / SALOMEGUI / SALOME_ListIteratorOfListIO.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _SALOME_ListIteratorOfListIO_HeaderFile
16 #define _SALOME_ListIteratorOfListIO_HeaderFile
17
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
20 #endif
21 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
22 #include <Handle_SALOME_InteractiveObject.hxx>
23 #endif
24 #ifndef _Handle_SALOME_ListNodeOfListIO_HeaderFile
25 #include <Handle_SALOME_ListNodeOfListIO.hxx>
26 #endif
27 #ifndef _Standard_Boolean_HeaderFile
28 #include <Standard_Boolean.hxx>
29 #endif
30 class Standard_NoMoreObject;
31 class Standard_NoSuchObject;
32 class SALOME_ListIO;
33 class SALOME_InteractiveObject;
34 class SALOME_ListNodeOfListIO;
35
36
37 #ifndef _Standard_HeaderFile
38 #include <Standard.hxx>
39 #endif
40 #ifndef _Standard_Macro_HeaderFile
41 #include <Standard_Macro.hxx>
42 #endif
43
44 class SALOME_ListIteratorOfListIO  {
45
46 public:
47
48     void* operator new(size_t,void* anAddress) 
49       {
50         return anAddress;
51       }
52     void* operator new(size_t size) 
53       { 
54         return Standard::Allocate(size); 
55       }
56     void  operator delete(void *anAddress) 
57       { 
58         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
59       }
60  // Methods PUBLIC
61  // 
62 Standard_EXPORT SALOME_ListIteratorOfListIO();
63 Standard_EXPORT SALOME_ListIteratorOfListIO(const SALOME_ListIO& L);
64 Standard_EXPORT   void Initialize(const SALOME_ListIO& L) ;
65 Standard_EXPORT   Standard_Boolean More() const;
66 Standard_EXPORT   void Next() ;
67 Standard_EXPORT   Handle_SALOME_InteractiveObject& Value() const;
68
69
70 friend class SALOME_ListIO;
71
72
73
74 protected:
75
76  // Methods PROTECTED
77  // 
78
79
80  // Fields PROTECTED
81  //
82
83
84 private: 
85
86  // Methods PRIVATE
87  // 
88
89
90  // Fields PRIVATE
91  //
92 Standard_Address current;
93 Standard_Address previous;
94
95
96 };
97
98 #define Item Handle_SALOME_InteractiveObject
99 #define Item_hxx "SALOME_InteractiveObject.hxx"
100 #define TCollection_ListNode SALOME_ListNodeOfListIO
101 #define TCollection_ListNode_hxx "SALOME_ListNodeOfListIO.hxx"
102 #define TCollection_ListIterator SALOME_ListIteratorOfListIO
103 #define TCollection_ListIterator_hxx "SALOME_ListIteratorOfListIO.hxx"
104 #define Handle_TCollection_ListNode Handle_SALOME_ListNodeOfListIO
105 #define TCollection_ListNode_Type_() SALOME_ListNodeOfListIO_Type_()
106 #define TCollection_List SALOME_ListIO
107 #define TCollection_List_hxx "SALOME_ListIO.hxx"
108
109 #include <TCollection_ListIterator.lxx>
110
111 #undef Item
112 #undef Item_hxx
113 #undef TCollection_ListNode
114 #undef TCollection_ListNode_hxx
115 #undef TCollection_ListIterator
116 #undef TCollection_ListIterator_hxx
117 #undef Handle_TCollection_ListNode
118 #undef TCollection_ListNode_Type_
119 #undef TCollection_List
120 #undef TCollection_List_hxx
121
122
123 // other Inline functions and methods (like "C++: function call" methods)
124 //
125
126
127 #endif