Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESHDS / SMESHDS_ListNodeOfListOfPtrHypothesis.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 _SMESHDS_ListNodeOfListOfPtrHypothesis_HeaderFile
17 #define _SMESHDS_ListNodeOfListOfPtrHypothesis_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMESHDS_ListNodeOfListOfPtrHypothesis_HeaderFile
23 #include "Handle_SMESHDS_ListNodeOfListOfPtrHypothesis.hxx"
24 #endif
25
26 #ifndef _SMESHDS_PtrHypothesis_HeaderFile
27 #include "SMESHDS_PtrHypothesis.hxx"
28 #endif
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
31 #endif
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
34 #endif
35 class SMESHDS_ListOfPtrHypothesis;
36 class SMESHDS_ListIteratorOfListOfPtrHypothesis;
37
38
39 class SMESHDS_ListNodeOfListOfPtrHypothesis : public TCollection_MapNode {
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 SMESHDS_ListNodeOfListOfPtrHypothesis(const SMESHDS_PtrHypothesis& I,const TCollection_MapNodePtr& n);
62 Standard_EXPORT inline   SMESHDS_PtrHypothesis& Value() const;
63 Standard_EXPORT ~SMESHDS_ListNodeOfListOfPtrHypothesis();
64
65
66
67
68  // Type management
69  //
70  Standard_EXPORT friend Handle_Standard_Type& SMESHDS_ListNodeOfListOfPtrHypothesis_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 SMESHDS_PtrHypothesis myValue;
93
94
95 };
96
97 #define Item SMESHDS_PtrHypothesis
98 #define Item_hxx <SMESHDS_PtrHypothesis.hxx>
99 #define TCollection_ListNode SMESHDS_ListNodeOfListOfPtrHypothesis
100 #define TCollection_ListNode_hxx <SMESHDS_ListNodeOfListOfPtrHypothesis.hxx>
101 #define TCollection_ListIterator SMESHDS_ListIteratorOfListOfPtrHypothesis
102 #define TCollection_ListIterator_hxx <SMESHDS_ListIteratorOfListOfPtrHypothesis.hxx>
103 #define Handle_TCollection_ListNode Handle_SMESHDS_ListNodeOfListOfPtrHypothesis
104 #define TCollection_ListNode_Type_() SMESHDS_ListNodeOfListOfPtrHypothesis_Type_()
105 #define TCollection_List SMESHDS_ListOfPtrHypothesis
106 #define TCollection_List_hxx <SMESHDS_ListOfPtrHypothesis.hxx>
107
108 #include <TCollection_ListNode.lxx>
109
110 #undef Item
111 #undef Item_hxx
112 #undef TCollection_ListNode
113 #undef TCollection_ListNode_hxx
114 #undef TCollection_ListIterator
115 #undef TCollection_ListIterator_hxx
116 #undef Handle_TCollection_ListNode
117 #undef TCollection_ListNode_Type_
118 #undef TCollection_List
119 #undef TCollection_List_hxx
120
121
122 // other inline functions and methods (like "C++: function call" methods)
123 //
124
125
126 #endif