1 // File generated by CPPExt (Value)
3 // Copyright (C) 1991 - 2000 by
4 // Matra Datavision SA. All rights reserved.
6 // Copyright (C) 2001 - 2004 by
7 // Open CASCADE SA. All rights reserved.
9 // This file is part of the Open CASCADE Technology software.
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.
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
22 #ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
23 #define _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
25 #ifndef _Standard_Address_HeaderFile
26 #include <Standard_Address.hxx>
28 #ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
29 #include <Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
31 #ifndef _Standard_Integer_HeaderFile
32 #include <Standard_Integer.hxx>
34 #ifndef _Standard_Boolean_HeaderFile
35 #include <Standard_Boolean.hxx>
37 class Standard_NoSuchObject;
38 class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes;
39 class GEOMAlgo_CoupleOfShapes;
40 class GEOMAlgo_ListNodeOfListOfCoupleOfShapes;
43 #ifndef _Standard_HeaderFile
44 #include <Standard.hxx>
46 #ifndef _Standard_Macro_HeaderFile
47 #include <Standard_Macro.hxx>
50 class GEOMAlgo_ListOfCoupleOfShapes {
54 void* operator new(size_t,void* anAddress)
58 void* operator new(size_t size)
60 return Standard::Allocate(size);
62 void operator delete(void *anAddress)
64 if (anAddress) Standard::Free((Standard_Address&)anAddress);
68 Standard_EXPORT GEOMAlgo_ListOfCoupleOfShapes();
69 Standard_EXPORT void Assign(const GEOMAlgo_ListOfCoupleOfShapes& Other) ;
70 void operator=(const GEOMAlgo_ListOfCoupleOfShapes& Other)
75 Standard_EXPORT Standard_Integer Extent() const;
76 Standard_EXPORT void Clear() ;
77 ~GEOMAlgo_ListOfCoupleOfShapes()
82 Standard_Boolean IsEmpty() const;
83 Standard_EXPORT void Prepend(const GEOMAlgo_CoupleOfShapes& I) ;
84 Standard_EXPORT void Prepend(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& theIt) ;
85 Standard_EXPORT void Prepend(GEOMAlgo_ListOfCoupleOfShapes& Other) ;
86 Standard_EXPORT void Append(const GEOMAlgo_CoupleOfShapes& I) ;
87 Standard_EXPORT void Append(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& theIt) ;
88 Standard_EXPORT void Append(GEOMAlgo_ListOfCoupleOfShapes& Other) ;
89 Standard_EXPORT GEOMAlgo_CoupleOfShapes& First() const;
90 Standard_EXPORT GEOMAlgo_CoupleOfShapes& Last() const;
91 Standard_EXPORT void RemoveFirst() ;
92 Standard_EXPORT void Remove(GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
93 Standard_EXPORT void InsertBefore(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
94 Standard_EXPORT void InsertBefore(GEOMAlgo_ListOfCoupleOfShapes& Other,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
95 Standard_EXPORT void InsertAfter(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
96 Standard_EXPORT void InsertAfter(GEOMAlgo_ListOfCoupleOfShapes& Other,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
99 friend class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes;
117 Standard_EXPORT GEOMAlgo_ListOfCoupleOfShapes(const GEOMAlgo_ListOfCoupleOfShapes& Other);
122 Standard_Address myFirst;
123 Standard_Address myLast;
128 #define Item GEOMAlgo_CoupleOfShapes
129 #define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
130 #define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
131 #define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
132 #define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
133 #define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
134 #define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
135 #define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
136 #define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
137 #define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
139 #include <TCollection_List.lxx>
143 #undef TCollection_ListNode
144 #undef TCollection_ListNode_hxx
145 #undef TCollection_ListIterator
146 #undef TCollection_ListIterator_hxx
147 #undef Handle_TCollection_ListNode
148 #undef TCollection_ListNode_Type_
149 #undef TCollection_List
150 #undef TCollection_List_hxx
153 // other Inline functions and methods (like "C++: function call" methods)