]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTDS/NMTDS_ListNodeOfListOfPair.hxx
Salome HOME
IPAL22903: TC650: Store/Restore last GUI state does not work for Isos
[modules/geom.git] / src / NMTDS / NMTDS_ListNodeOfListOfPair.hxx
1 // Copyright (C) 2007-2012  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 \r
23 #ifndef _NMTDS_ListNodeOfListOfPair_HeaderFile\r
24 #define _NMTDS_ListNodeOfListOfPair_HeaderFile\r
25 \r
26 #ifndef _Standard_HeaderFile\r
27 #include <Standard.hxx>\r
28 #endif\r
29 #ifndef _Standard_DefineHandle_HeaderFile\r
30 #include <Standard_DefineHandle.hxx>\r
31 #endif\r
32 #ifndef _Handle_NMTDS_ListNodeOfListOfPair_HeaderFile\r
33 #include <Handle_NMTDS_ListNodeOfListOfPair.hxx>\r
34 #endif\r
35 \r
36 #ifndef _NMTDS_Pair_HeaderFile\r
37 #include <NMTDS_Pair.hxx>\r
38 #endif\r
39 #ifndef _TCollection_MapNode_HeaderFile\r
40 #include <TCollection_MapNode.hxx>\r
41 #endif\r
42 #ifndef _TCollection_MapNodePtr_HeaderFile\r
43 #include <TCollection_MapNodePtr.hxx>\r
44 #endif\r
45 class NMTDS_Pair;\r
46 class NMTDS_ListOfPair;\r
47 class NMTDS_ListIteratorOfListOfPair;\r
48 \r
49 \r
50 \r
51 class NMTDS_ListNodeOfListOfPair : public TCollection_MapNode {\r
52 \r
53 public:\r
54 \r
55   \r
56       NMTDS_ListNodeOfListOfPair(const NMTDS_Pair& I,const TCollection_MapNodePtr& n);\r
57   \r
58         NMTDS_Pair& Value() const;\r
59 \r
60 \r
61 \r
62 \r
63   DEFINE_STANDARD_RTTI(NMTDS_ListNodeOfListOfPair)\r
64 \r
65 protected:\r
66 \r
67 \r
68 \r
69 \r
70 private: \r
71 \r
72 \r
73 NMTDS_Pair myValue;\r
74 \r
75 \r
76 };\r
77 \r
78 #define Item NMTDS_Pair\r
79 #define Item_hxx <NMTDS_Pair.hxx>\r
80 #define TCollection_ListNode NMTDS_ListNodeOfListOfPair\r
81 #define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfPair.hxx>\r
82 #define TCollection_ListIterator NMTDS_ListIteratorOfListOfPair\r
83 #define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfPair.hxx>\r
84 #define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfPair\r
85 #define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfPair_Type_()\r
86 #define TCollection_List NMTDS_ListOfPair\r
87 #define TCollection_List_hxx <NMTDS_ListOfPair.hxx>\r
88 \r
89 #include <TCollection_ListNode.lxx>\r
90 \r
91 #undef Item\r
92 #undef Item_hxx\r
93 #undef TCollection_ListNode\r
94 #undef TCollection_ListNode_hxx\r
95 #undef TCollection_ListIterator\r
96 #undef TCollection_ListIterator_hxx\r
97 #undef Handle_TCollection_ListNode\r
98 #undef TCollection_ListNode_Type_\r
99 #undef TCollection_List\r
100 #undef TCollection_List_hxx\r
101 \r
102 \r
103 // other Inline functions and methods (like "C++: function call" methods)\r
104 \r
105 \r
106 #endif\r