Salome HOME
PAL8395: Improve CheckCompoundOfBlocks and RemoveExtraEdges. Improvement done by...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
23 #define _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
24
25 #ifndef _Standard_Address_HeaderFile
26 #include <Standard_Address.hxx>
27 #endif
28 #ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
29 #include <Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
30 #endif
31 #ifndef _Standard_Boolean_HeaderFile
32 #include <Standard_Boolean.hxx>
33 #endif
34 class Standard_NoMoreObject;
35 class Standard_NoSuchObject;
36 class GEOMAlgo_ListOfCoupleOfShapes;
37 class GEOMAlgo_CoupleOfShapes;
38 class GEOMAlgo_ListNodeOfListOfCoupleOfShapes;
39
40
41 #ifndef _Standard_HeaderFile
42 #include <Standard.hxx>
43 #endif
44 #ifndef _Standard_Macro_HeaderFile
45 #include <Standard_Macro.hxx>
46 #endif
47
48 class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes  {
49
50 public:
51
52     void* operator new(size_t,void* anAddress) 
53       {
54         return anAddress;
55       }
56     void* operator new(size_t size) 
57       { 
58         return Standard::Allocate(size); 
59       }
60     void  operator delete(void *anAddress) 
61       { 
62         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
63       }
64  // Methods PUBLIC
65  // 
66 Standard_EXPORT GEOMAlgo_ListIteratorOfListOfCoupleOfShapes();
67 Standard_EXPORT GEOMAlgo_ListIteratorOfListOfCoupleOfShapes(const GEOMAlgo_ListOfCoupleOfShapes& L);
68 Standard_EXPORT   void Initialize(const GEOMAlgo_ListOfCoupleOfShapes& L) ;
69   Standard_Boolean More() const;
70 Standard_EXPORT   void Next() ;
71 Standard_EXPORT   GEOMAlgo_CoupleOfShapes& Value() const;
72
73
74 friend class GEOMAlgo_ListOfCoupleOfShapes;
75
76
77
78 protected:
79
80  // Methods PROTECTED
81  // 
82
83
84  // Fields PROTECTED
85  //
86
87
88 private: 
89
90  // Methods PRIVATE
91  // 
92
93
94  // Fields PRIVATE
95  //
96 Standard_Address current;
97 Standard_Address previous;
98
99
100 };
101
102 #define Item GEOMAlgo_CoupleOfShapes
103 #define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
104 #define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
105 #define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
106 #define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
107 #define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
108 #define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
109 #define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
110 #define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
111 #define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
112
113 #include <TCollection_ListIterator.lxx>
114
115 #undef Item
116 #undef Item_hxx
117 #undef TCollection_ListNode
118 #undef TCollection_ListNode_hxx
119 #undef TCollection_ListIterator
120 #undef TCollection_ListIterator_hxx
121 #undef Handle_TCollection_ListNode
122 #undef TCollection_ListNode_Type_
123 #undef TCollection_List
124 #undef TCollection_List_hxx
125
126
127 // other Inline functions and methods (like "C++: function call" methods)
128 //
129
130
131 #endif