1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 #ifndef _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
23 #define _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
28 #ifndef _Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
29 #include <Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
32 #ifndef _Standard_Integer_HeaderFile
33 #include <Standard_Integer.hxx>
35 #ifndef _TColStd_MapOfInteger_HeaderFile
36 #include <TColStd_MapOfInteger.hxx>
38 #ifndef _TCollection_MapNode_HeaderFile
39 #include <TCollection_MapNode.hxx>
41 #ifndef _TCollection_MapNodePtr_HeaderFile
42 #include <TCollection_MapNodePtr.hxx>
44 class TColStd_MapOfInteger;
45 class TColStd_MapIntegerHasher;
46 class NMTDS_DataMapOfIntegerMapOfInteger;
47 class NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger;
51 class NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger : public TCollection_MapNode {
57 NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger(const Standard_Integer& K,const TColStd_MapOfInteger& I,const TCollection_MapNodePtr& n);
59 Standard_Integer& Key() const;
61 TColStd_MapOfInteger& Value() const;
62 //Standard_EXPORT ~NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger();
69 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
70 //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
90 Standard_Integer myKey;
91 TColStd_MapOfInteger myValue;
96 #define TheKey Standard_Integer
97 #define TheKey_hxx <Standard_Integer.hxx>
98 #define TheItem TColStd_MapOfInteger
99 #define TheItem_hxx <TColStd_MapOfInteger.hxx>
100 #define Hasher TColStd_MapIntegerHasher
101 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
102 #define TCollection_DataMapNode NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
103 #define TCollection_DataMapNode_hxx <NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
104 #define TCollection_DataMapIterator NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger
105 #define TCollection_DataMapIterator_hxx <NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger.hxx>
106 #define Handle_TCollection_DataMapNode Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
107 #define TCollection_DataMapNode_Type_() NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_Type_()
108 #define TCollection_DataMap NMTDS_DataMapOfIntegerMapOfInteger
109 #define TCollection_DataMap_hxx <NMTDS_DataMapOfIntegerMapOfInteger.hxx>
111 #include <TCollection_DataMapNode.lxx>
119 #undef TCollection_DataMapNode
120 #undef TCollection_DataMapNode_hxx
121 #undef TCollection_DataMapIterator
122 #undef TCollection_DataMapIterator_hxx
123 #undef Handle_TCollection_DataMapNode
124 #undef TCollection_DataMapNode_Type_
125 #undef TCollection_DataMap
126 #undef TCollection_DataMap_hxx
129 // other Inline functions and methods (like "C++: function call" methods)