Salome HOME
Mantis issue 0021066: EDF 1622: GetAngle function.
[modules/geom.git] / src / NMTTools / NMTTools_ListNodeOfListOfCommonBlock.hxx
1 // Copyright (C) 2007-2011  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
23 #ifndef _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
24 #define _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
30 #include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
31 #endif
32
33 #ifndef _NMTTools_CommonBlock_HeaderFile
34 #include <NMTTools_CommonBlock.hxx>
35 #endif
36 #ifndef _TCollection_MapNode_HeaderFile
37 #include <TCollection_MapNode.hxx>
38 #endif
39 #ifndef _TCollection_MapNodePtr_HeaderFile
40 #include <TCollection_MapNodePtr.hxx>
41 #endif
42 class NMTTools_CommonBlock;
43 class NMTTools_ListOfCommonBlock;
44 class NMTTools_ListIteratorOfListOfCommonBlock;
45
46
47
48 class NMTTools_ListNodeOfListOfCommonBlock : public TCollection_MapNode {
49
50 public:
51  // Methods PUBLIC
52  // 
53
54 NMTTools_ListNodeOfListOfCommonBlock(const NMTTools_CommonBlock& I,const TCollection_MapNodePtr& n);
55
56   NMTTools_CommonBlock& Value() const;
57 //Standard_EXPORT ~NMTTools_ListNodeOfListOfCommonBlock();
58
59
60
61
62  // Type management
63  //
64  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
65  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
66
67 protected:
68
69  // Methods PROTECTED
70  // 
71
72
73  // Fields PROTECTED
74  //
75
76
77 private: 
78
79  // Methods PRIVATE
80  // 
81
82
83  // Fields PRIVATE
84  //
85 NMTTools_CommonBlock myValue;
86
87
88 };
89
90 #define Item NMTTools_CommonBlock
91 #define Item_hxx <NMTTools_CommonBlock.hxx>
92 #define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
93 #define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
94 #define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
95 #define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
96 #define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
97 #define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
98 #define TCollection_List NMTTools_ListOfCommonBlock
99 #define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
100
101 #include <TCollection_ListNode.lxx>
102
103 #undef Item
104 #undef Item_hxx
105 #undef TCollection_ListNode
106 #undef TCollection_ListNode_hxx
107 #undef TCollection_ListIterator
108 #undef TCollection_ListIterator_hxx
109 #undef Handle_TCollection_ListNode
110 #undef TCollection_ListNode_Type_
111 #undef TCollection_List
112 #undef TCollection_List_hxx
113
114
115 // other Inline functions and methods (like "C++: function call" methods)
116 //
117
118
119 #endif