1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
21 #define _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
23 #ifndef _Standard_Address_HeaderFile
24 #include <Standard_Address.hxx>
26 #ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
27 #include <Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
29 #ifndef _Standard_Integer_HeaderFile
30 #include <Standard_Integer.hxx>
32 #ifndef _Standard_Boolean_HeaderFile
33 #include <Standard_Boolean.hxx>
35 class Standard_NoSuchObject;
36 class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
37 class BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors;
38 class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
41 #ifndef _Standard_HeaderFile
42 #include <Standard.hxx>
44 #ifndef _Standard_Macro_HeaderFile
45 #include <Standard_Macro.hxx>
48 class NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors {
52 void* operator new(size_t,void* anAddress)
56 void* operator new(size_t size)
58 return Standard::Allocate(size);
60 void operator delete(void *anAddress)
62 if (anAddress) Standard::Free((Standard_Address&)anAddress);
66 Standard_EXPORT NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors();
67 Standard_EXPORT void Assign(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
68 void operator=(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other)
73 Standard_EXPORT Standard_Integer Extent() const;
74 Standard_EXPORT void Clear() ;
75 ~NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors()
80 Standard_Boolean IsEmpty() const;
81 Standard_EXPORT void Prepend(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I) ;
82 Standard_EXPORT void Prepend(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& theIt) ;
83 Standard_EXPORT void Prepend(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
84 Standard_EXPORT void Append(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I) ;
85 Standard_EXPORT void Append(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& theIt) ;
86 Standard_EXPORT void Append(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
87 Standard_EXPORT BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& First() const;
88 Standard_EXPORT BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& Last() const;
89 Standard_EXPORT void RemoveFirst() ;
90 Standard_EXPORT void Remove(NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
91 Standard_EXPORT void InsertBefore(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
92 Standard_EXPORT void InsertBefore(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
93 Standard_EXPORT void InsertAfter(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
94 Standard_EXPORT void InsertAfter(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
97 friend class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
115 Standard_EXPORT NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other);
120 Standard_Address myFirst;
121 Standard_Address myLast;
126 #define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
127 #define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
128 #define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
129 #define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
130 #define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
131 #define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
132 #define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
133 #define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
134 #define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
135 #define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
137 #include <TCollection_List.lxx>
141 #undef TCollection_ListNode
142 #undef TCollection_ListNode_hxx
143 #undef TCollection_ListIterator
144 #undef TCollection_ListIterator_hxx
145 #undef Handle_TCollection_ListNode
146 #undef TCollection_ListNode_Type_
147 #undef TCollection_List
148 #undef TCollection_List_hxx
151 // other Inline functions and methods (like "C++: function call" methods)