1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
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.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _SMESHDS_ListOfPtrHypothesis_HeaderFile
16 #define _SMESHDS_ListOfPtrHypothesis_HeaderFile
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
21 #ifndef _SMESHDS_PtrHypothesis_HeaderFile
22 #include "SMESHDS_PtrHypothesis.hxx"
24 #ifndef _Handle_SMESHDS_ListNodeOfListOfPtrHypothesis_HeaderFile
25 #include "Handle_SMESHDS_ListNodeOfListOfPtrHypothesis.hxx"
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
30 #ifndef _Standard_Boolean_HeaderFile
31 #include <Standard_Boolean.hxx>
33 class Standard_NoSuchObject;
34 class SMESHDS_ListIteratorOfListOfPtrHypothesis;
35 class SMESHDS_ListNodeOfListOfPtrHypothesis;
38 #ifndef _Standard_HeaderFile
39 #include <Standard.hxx>
41 #ifndef _Standard_Macro_HeaderFile
42 #include <Standard_Macro.hxx>
45 class SMESHDS_ListOfPtrHypothesis {
49 inline void* operator new(size_t,void* anAddress)
53 inline void* operator new(size_t size)
55 return Standard::Allocate(size);
57 inline void operator delete(void *anAddress)
59 if (anAddress) Standard::Free((Standard_Address&)anAddress);
61 // inline void operator delete(void *anAddress, size_t size)
63 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
67 Standard_EXPORT SMESHDS_ListOfPtrHypothesis();
68 Standard_EXPORT void Assign(const SMESHDS_ListOfPtrHypothesis& Other) ;
69 void operator=(const SMESHDS_ListOfPtrHypothesis& Other)
74 Standard_EXPORT Standard_Integer Extent() const;
75 Standard_EXPORT void Clear() ;
76 ~SMESHDS_ListOfPtrHypothesis()
81 Standard_EXPORT inline Standard_Boolean IsEmpty() const;
82 Standard_EXPORT void Prepend(const SMESHDS_PtrHypothesis& I) ;
83 Standard_EXPORT void Prepend(SMESHDS_ListOfPtrHypothesis& Other) ;
84 Standard_EXPORT void Append(const SMESHDS_PtrHypothesis& I) ;
85 Standard_EXPORT void Append(SMESHDS_ListOfPtrHypothesis& Other) ;
86 Standard_EXPORT SMESHDS_PtrHypothesis& First() const;
87 Standard_EXPORT SMESHDS_PtrHypothesis& Last() const;
88 Standard_EXPORT void RemoveFirst() ;
89 Standard_EXPORT void Remove(SMESHDS_ListIteratorOfListOfPtrHypothesis& It) ;
90 Standard_EXPORT void InsertBefore(const SMESHDS_PtrHypothesis& I,SMESHDS_ListIteratorOfListOfPtrHypothesis& It) ;
91 Standard_EXPORT void InsertBefore(SMESHDS_ListOfPtrHypothesis& Other,SMESHDS_ListIteratorOfListOfPtrHypothesis& It) ;
92 Standard_EXPORT void InsertAfter(const SMESHDS_PtrHypothesis& I,SMESHDS_ListIteratorOfListOfPtrHypothesis& It) ;
93 Standard_EXPORT void InsertAfter(SMESHDS_ListOfPtrHypothesis& Other,SMESHDS_ListIteratorOfListOfPtrHypothesis& It) ;
96 friend class SMESHDS_ListIteratorOfListOfPtrHypothesis;
114 Standard_EXPORT SMESHDS_ListOfPtrHypothesis(const SMESHDS_ListOfPtrHypothesis& Other);
119 Standard_Address myFirst;
120 Standard_Address myLast;
125 #define Item SMESHDS_PtrHypothesis
126 #define Item_hxx <SMESHDS_PtrHypothesis.hxx>
127 #define TCollection_ListNode SMESHDS_ListNodeOfListOfPtrHypothesis
128 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfPtrHypothesis.hxx>
129 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfPtrHypothesis
130 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfPtrHypothesis.hxx>
131 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfPtrHypothesis
132 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfPtrHypothesis_Type_()
133 #define TCollection_List SMESHDS_ListOfPtrHypothesis
134 #define TCollection_List_hxx <SMESHDS_ListOfPtrHypothesis.hxx>
136 #include <TCollection_List.lxx>
140 #undef TCollection_ListNode
141 #undef TCollection_ListNode_hxx
142 #undef TCollection_ListIterator
143 #undef TCollection_ListIterator_hxx
144 #undef Handle_TCollection_ListNode
145 #undef TCollection_ListNode_Type_
146 #undef TCollection_List
147 #undef TCollection_List_hxx
150 // other inline functions and methods (like "C++: function call" methods)