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_ListOfPnt_HeaderFile
23 #define _GEOMAlgo_ListOfPnt_HeaderFile
25 #ifndef _Standard_Address_HeaderFile
26 #include <Standard_Address.hxx>
28 #ifndef _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
29 #include <Handle_GEOMAlgo_ListNodeOfListOfPnt.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_ListIteratorOfListOfPnt;
40 class GEOMAlgo_ListNodeOfListOfPnt;
43 #ifndef _Standard_HeaderFile
44 #include <Standard.hxx>
46 #ifndef _Standard_Macro_HeaderFile
47 #include <Standard_Macro.hxx>
50 class GEOMAlgo_ListOfPnt {
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_ListOfPnt();
69 Standard_EXPORT void Assign(const GEOMAlgo_ListOfPnt& Other) ;
70 void operator=(const GEOMAlgo_ListOfPnt& Other)
75 Standard_EXPORT Standard_Integer Extent() const;
76 Standard_EXPORT void Clear() ;
82 Standard_Boolean IsEmpty() const;
83 Standard_EXPORT void Prepend(const gp_Pnt& I) ;
84 Standard_EXPORT void Prepend(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ;
85 Standard_EXPORT void Prepend(GEOMAlgo_ListOfPnt& Other) ;
86 Standard_EXPORT void Append(const gp_Pnt& I) ;
87 Standard_EXPORT void Append(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ;
88 Standard_EXPORT void Append(GEOMAlgo_ListOfPnt& Other) ;
89 Standard_EXPORT gp_Pnt& First() const;
90 Standard_EXPORT gp_Pnt& Last() const;
91 Standard_EXPORT void RemoveFirst() ;
92 Standard_EXPORT void Remove(GEOMAlgo_ListIteratorOfListOfPnt& It) ;
93 Standard_EXPORT void InsertBefore(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
94 Standard_EXPORT void InsertBefore(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
95 Standard_EXPORT void InsertAfter(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
96 Standard_EXPORT void InsertAfter(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
99 friend class GEOMAlgo_ListIteratorOfListOfPnt;
117 Standard_EXPORT GEOMAlgo_ListOfPnt(const GEOMAlgo_ListOfPnt& Other);
122 Standard_Address myFirst;
123 Standard_Address myLast;
129 #define Item_hxx <gp_Pnt.hxx>
130 #define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
131 #define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
132 #define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
133 #define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
134 #define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
135 #define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
136 #define TCollection_List GEOMAlgo_ListOfPnt
137 #define TCollection_List_hxx <GEOMAlgo_ListOfPnt.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)