Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMDS / SMDS_SequenceNodeOfSequenceOfMesh.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
17 #define _SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
23 #include "Handle_SMDS_SequenceNodeOfSequenceOfMesh.hxx"
24 #endif
25
26 #ifndef _Handle_SMDS_Mesh_HeaderFile
27 #include "Handle_SMDS_Mesh.hxx"
28 #endif
29 #ifndef _TCollection_SeqNode_HeaderFile
30 #include <TCollection_SeqNode.hxx>
31 #endif
32 #ifndef _TCollection_SeqNodePtr_HeaderFile
33 #include <TCollection_SeqNodePtr.hxx>
34 #endif
35 class SMDS_Mesh;
36 class SMDS_SequenceOfMesh;
37
38
39 class SMDS_SequenceNodeOfSequenceOfMesh : public TCollection_SeqNode {
40
41 public:
42
43     inline void* operator new(size_t,void* anAddress) 
44       {
45         return anAddress;
46       }
47     inline void* operator new(size_t size) 
48       { 
49         return Standard::Allocate(size); 
50       }
51     inline void  operator delete(void *anAddress) 
52       { 
53         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
54       }
55 //    inline void  operator delete(void *anAddress, size_t size) 
56 //      { 
57 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
58 //      }
59  // Methods PUBLIC
60  // 
61 Standard_EXPORT inline SMDS_SequenceNodeOfSequenceOfMesh(const Handle(SMDS_Mesh)& I,const TCollection_SeqNodePtr& n,const TCollection_SeqNodePtr& p);
62 Standard_EXPORT inline   Handle_SMDS_Mesh& Value() const;
63 Standard_EXPORT ~SMDS_SequenceNodeOfSequenceOfMesh();
64
65
66
67
68  // Type management
69  //
70  Standard_EXPORT friend Handle_Standard_Type& SMDS_SequenceNodeOfSequenceOfMesh_Type_();
71  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
72  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
73
74 protected:
75
76  // Methods PROTECTED
77  // 
78
79
80  // Fields PROTECTED
81  //
82
83
84 private: 
85
86  // Methods PRIVATE
87  // 
88
89
90  // Fields PRIVATE
91  //
92 Handle_SMDS_Mesh myValue;
93
94
95 };
96
97 #define SeqItem Handle_SMDS_Mesh
98 #define SeqItem_hxx "SMDS_Mesh.hxx"
99 #define TCollection_SequenceNode SMDS_SequenceNodeOfSequenceOfMesh
100 #define TCollection_SequenceNode_hxx "SMDS_SequenceNodeOfSequenceOfMesh.hxx"
101 #define Handle_TCollection_SequenceNode Handle_SMDS_SequenceNodeOfSequenceOfMesh
102 #define TCollection_SequenceNode_Type_() SMDS_SequenceNodeOfSequenceOfMesh_Type_()
103 #define TCollection_Sequence SMDS_SequenceOfMesh
104 #define TCollection_Sequence_hxx "SMDS_SequenceOfMesh.hxx"
105
106 #include <TCollection_SequenceNode.lxx>
107
108 #undef SeqItem
109 #undef SeqItem_hxx
110 #undef TCollection_SequenceNode
111 #undef TCollection_SequenceNode_hxx
112 #undef Handle_TCollection_SequenceNode
113 #undef TCollection_SequenceNode_Type_
114 #undef TCollection_Sequence
115 #undef TCollection_Sequence_hxx
116
117
118 // other inline functions and methods (like "C++: function call" methods)
119 //
120
121
122 #endif