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 _SMDS_SequenceOfMesh_HeaderFile
16 #define _SMDS_SequenceOfMesh_HeaderFile
18 #ifndef _TCollection_BaseSequence_HeaderFile
19 #include <TCollection_BaseSequence.hxx>
21 #ifndef _Handle_SMDS_Mesh_HeaderFile
22 #include "Handle_SMDS_Mesh.hxx"
24 #ifndef _Handle_SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
25 #include "Handle_SMDS_SequenceNodeOfSequenceOfMesh.hxx"
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
30 class Standard_NoSuchObject;
31 class Standard_OutOfRange;
33 class SMDS_SequenceNodeOfSequenceOfMesh;
36 #ifndef _Standard_HeaderFile
37 #include <Standard.hxx>
39 #ifndef _Standard_Macro_HeaderFile
40 #include <Standard_Macro.hxx>
43 class SMDS_SequenceOfMesh : public TCollection_BaseSequence {
47 inline void* operator new(size_t,void* anAddress)
51 inline void* operator new(size_t size)
53 return Standard::Allocate(size);
55 inline void operator delete(void *anAddress)
57 if (anAddress) Standard::Free((Standard_Address&)anAddress);
59 // inline void operator delete(void *anAddress, size_t size)
61 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
65 Standard_EXPORT inline SMDS_SequenceOfMesh();
66 Standard_EXPORT void Clear() ;
67 ~SMDS_SequenceOfMesh()
72 Standard_EXPORT const SMDS_SequenceOfMesh& Assign(const SMDS_SequenceOfMesh& Other) ;
73 const SMDS_SequenceOfMesh& operator =(const SMDS_SequenceOfMesh& Other)
78 Standard_EXPORT void Append(const Handle(SMDS_Mesh)& T) ;
79 Standard_EXPORT inline void Append(SMDS_SequenceOfMesh& S) ;
80 Standard_EXPORT void Prepend(const Handle(SMDS_Mesh)& T) ;
81 Standard_EXPORT inline void Prepend(SMDS_SequenceOfMesh& S) ;
82 Standard_EXPORT inline void InsertBefore(const Standard_Integer Index,const Handle(SMDS_Mesh)& T) ;
83 Standard_EXPORT inline void InsertBefore(const Standard_Integer Index,SMDS_SequenceOfMesh& S) ;
84 Standard_EXPORT void InsertAfter(const Standard_Integer Index,const Handle(SMDS_Mesh)& T) ;
85 Standard_EXPORT inline void InsertAfter(const Standard_Integer Index,SMDS_SequenceOfMesh& S) ;
86 Standard_EXPORT const Handle_SMDS_Mesh& First() const;
87 Standard_EXPORT const Handle_SMDS_Mesh& Last() const;
88 Standard_EXPORT inline void Split(const Standard_Integer Index,SMDS_SequenceOfMesh& Sub) ;
89 Standard_EXPORT const Handle_SMDS_Mesh& Value(const Standard_Integer Index) const;
90 const Handle_SMDS_Mesh& operator()(const Standard_Integer Index) const
95 Standard_EXPORT void SetValue(const Standard_Integer Index,const Handle(SMDS_Mesh)& I) ;
96 Standard_EXPORT Handle_SMDS_Mesh& ChangeValue(const Standard_Integer Index) ;
97 Handle_SMDS_Mesh& operator()(const Standard_Integer Index)
99 return ChangeValue(Index);
102 Standard_EXPORT void Remove(const Standard_Integer Index) ;
103 Standard_EXPORT void Remove(const Standard_Integer FromIndex,const Standard_Integer ToIndex) ;
123 Standard_EXPORT SMDS_SequenceOfMesh(const SMDS_SequenceOfMesh& Other);
132 #define SeqItem Handle_SMDS_Mesh
133 #define SeqItem_hxx "SMDS_Mesh.hxx"
134 #define TCollection_SequenceNode SMDS_SequenceNodeOfSequenceOfMesh
135 #define TCollection_SequenceNode_hxx "SMDS_SequenceNodeOfSequenceOfMesh.hxx"
136 #define Handle_TCollection_SequenceNode Handle_SMDS_SequenceNodeOfSequenceOfMesh
137 #define TCollection_SequenceNode_Type_() SMDS_SequenceNodeOfSequenceOfMesh_Type_()
138 #define TCollection_Sequence SMDS_SequenceOfMesh
139 #define TCollection_Sequence_hxx "SMDS_SequenceOfMesh.hxx"
141 #include <TCollection_Sequence.lxx>
145 #undef TCollection_SequenceNode
146 #undef TCollection_SequenceNode_hxx
147 #undef Handle_TCollection_SequenceNode
148 #undef TCollection_SequenceNode_Type_
149 #undef TCollection_Sequence
150 #undef TCollection_Sequence_hxx
153 // other inline functions and methods (like "C++: function call" methods)