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 _SALOME_ListIO_HeaderFile
16 #define _SALOME_ListIO_HeaderFile
18 #ifndef _Standard_Address_HeaderFile
19 #include <Standard_Address.hxx>
21 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
22 #include <Handle_SALOME_InteractiveObject.hxx>
24 #ifndef _Handle_SALOME_ListNodeOfListIO_HeaderFile
25 #include <Handle_SALOME_ListNodeOfListIO.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 SALOME_ListIteratorOfListIO;
35 class SALOME_InteractiveObject;
36 class SALOME_ListNodeOfListIO;
39 #ifndef _Standard_HeaderFile
40 #include <Standard.hxx>
42 #ifndef _Standard_Macro_HeaderFile
43 #include <Standard_Macro.hxx>
50 void* operator new(size_t,void* anAddress)
54 void* operator new(size_t size)
56 return Standard::Allocate(size);
58 void operator delete(void *anAddress)
60 if (anAddress) Standard::Free((Standard_Address&)anAddress);
64 Standard_EXPORT SALOME_ListIO();
65 Standard_EXPORT void Assign(const SALOME_ListIO& Other) ;
66 void operator=(const SALOME_ListIO& Other)
71 Standard_EXPORT Standard_Integer Extent() const;
72 Standard_EXPORT void Clear() ;
78 Standard_EXPORT Standard_Boolean IsEmpty() const;
79 Standard_EXPORT void Prepend(const Handle(SALOME_InteractiveObject)& I) ;
80 Standard_EXPORT void Prepend(SALOME_ListIO& Other) ;
81 Standard_EXPORT void Append(const Handle(SALOME_InteractiveObject)& I) ;
82 Standard_EXPORT void Append(SALOME_ListIO& Other) ;
83 Standard_EXPORT Handle_SALOME_InteractiveObject& First() const;
84 Standard_EXPORT Handle_SALOME_InteractiveObject& Last() const;
85 Standard_EXPORT void RemoveFirst() ;
86 Standard_EXPORT void Remove(SALOME_ListIteratorOfListIO& It) ;
87 Standard_EXPORT void InsertBefore(const Handle(SALOME_InteractiveObject)& I,SALOME_ListIteratorOfListIO& It) ;
88 Standard_EXPORT void InsertBefore(SALOME_ListIO& Other,SALOME_ListIteratorOfListIO& It) ;
89 Standard_EXPORT void InsertAfter(const Handle(SALOME_InteractiveObject)& I,SALOME_ListIteratorOfListIO& It) ;
90 Standard_EXPORT void InsertAfter(SALOME_ListIO& Other,SALOME_ListIteratorOfListIO& It) ;
93 friend class SALOME_ListIteratorOfListIO;
111 Standard_EXPORT SALOME_ListIO(const SALOME_ListIO& Other);
116 Standard_Address myFirst;
117 Standard_Address myLast;
122 #define Item Handle_SALOME_InteractiveObject
123 #define Item_hxx "SALOME_InteractiveObject.hxx"
124 #define TCollection_ListNode SALOME_ListNodeOfListIO
125 #define TCollection_ListNode_hxx "SALOME_ListNodeOfListIO.hxx"
126 #define TCollection_ListIterator SALOME_ListIteratorOfListIO
127 #define TCollection_ListIterator_hxx "SALOME_ListIteratorOfListIO.hxx"
128 #define Handle_TCollection_ListNode Handle_SALOME_ListNodeOfListIO
129 #define TCollection_ListNode_Type_() SALOME_ListNodeOfListIO_Type_()
130 #define TCollection_List SALOME_ListIO
131 #define TCollection_List_hxx "SALOME_ListIO.hxx"
133 #include <TCollection_List.lxx>
137 #undef TCollection_ListNode
138 #undef TCollection_ListNode_hxx
139 #undef TCollection_ListIterator
140 #undef TCollection_ListIterator_hxx
141 #undef Handle_TCollection_ListNode
142 #undef TCollection_ListNode_Type_
143 #undef TCollection_List
144 #undef TCollection_List_hxx
147 // other Inline functions and methods (like "C++: function call" methods)