Salome HOME
ce0b0608e7c8472aae3ba5ed2679f54f50c6c8a2
[modules/geom.git] / src / NMTTools / NMTTools_ListNodeOfListOfCommonBlock.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 #ifndef _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
23 #define _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
24
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
27 #endif
28 #ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
29 #include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
30 #endif
31
32 #ifndef _NMTTools_CommonBlock_HeaderFile
33 #include <NMTTools_CommonBlock.hxx>
34 #endif
35 #ifndef _TCollection_MapNode_HeaderFile
36 #include <TCollection_MapNode.hxx>
37 #endif
38 #ifndef _TCollection_MapNodePtr_HeaderFile
39 #include <TCollection_MapNodePtr.hxx>
40 #endif
41 class NMTTools_CommonBlock;
42 class NMTTools_ListOfCommonBlock;
43 class NMTTools_ListIteratorOfListOfCommonBlock;
44
45
46
47 class NMTTools_ListNodeOfListOfCommonBlock : public TCollection_MapNode {
48
49 public:
50  // Methods PUBLIC
51  // 
52
53 NMTTools_ListNodeOfListOfCommonBlock(const NMTTools_CommonBlock& I,const TCollection_MapNodePtr& n);
54
55   NMTTools_CommonBlock& Value() const;
56 //Standard_EXPORT ~NMTTools_ListNodeOfListOfCommonBlock();
57
58
59
60
61  // Type management
62  //
63  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
64  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
65
66 protected:
67
68  // Methods PROTECTED
69  // 
70
71
72  // Fields PROTECTED
73  //
74
75
76 private: 
77
78  // Methods PRIVATE
79  // 
80
81
82  // Fields PRIVATE
83  //
84 NMTTools_CommonBlock myValue;
85
86
87 };
88
89 #define Item NMTTools_CommonBlock
90 #define Item_hxx <NMTTools_CommonBlock.hxx>
91 #define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
92 #define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
93 #define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
94 #define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
95 #define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
96 #define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
97 #define TCollection_List NMTTools_ListOfCommonBlock
98 #define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
99
100 #include <TCollection_ListNode.lxx>
101
102 #undef Item
103 #undef Item_hxx
104 #undef TCollection_ListNode
105 #undef TCollection_ListNode_hxx
106 #undef TCollection_ListIterator
107 #undef TCollection_ListIterator_hxx
108 #undef Handle_TCollection_ListNode
109 #undef TCollection_ListNode_Type_
110 #undef TCollection_List
111 #undef TCollection_List_hxx
112
113
114 // other Inline functions and methods (like "C++: function call" methods)
115 //
116
117
118 #endif