Version: 6.3.1

src/NMTDS/NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
00021 #define _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
00022 
00023 #ifndef _Standard_HeaderFile
00024 #include <Standard.hxx>
00025 #endif
00026 #ifndef _Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
00027 #include <Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
00028 #endif
00029 
00030 #ifndef _Standard_Integer_HeaderFile
00031 #include <Standard_Integer.hxx>
00032 #endif
00033 #ifndef _TColStd_MapOfInteger_HeaderFile
00034 #include <TColStd_MapOfInteger.hxx>
00035 #endif
00036 #ifndef _TCollection_MapNode_HeaderFile
00037 #include <TCollection_MapNode.hxx>
00038 #endif
00039 #ifndef _TCollection_MapNodePtr_HeaderFile
00040 #include <TCollection_MapNodePtr.hxx>
00041 #endif
00042 class TColStd_MapOfInteger;
00043 class TColStd_MapIntegerHasher;
00044 class NMTDS_DataMapOfIntegerMapOfInteger;
00045 class NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger;
00046 
00047 
00048 
00049 class NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger : public TCollection_MapNode {
00050 
00051 public:
00052  // Methods PUBLIC
00053  // 
00054 
00055 NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger(const Standard_Integer& K,const TColStd_MapOfInteger& I,const TCollection_MapNodePtr& n);
00056 
00057   Standard_Integer& Key() const;
00058 
00059   TColStd_MapOfInteger& Value() const;
00060 //Standard_EXPORT ~NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger();
00061 
00062 
00063 
00064 
00065  // Type management
00066  //
00067  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00068  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
00069 
00070 protected:
00071 
00072  // Methods PROTECTED
00073  // 
00074 
00075 
00076  // Fields PROTECTED
00077  //
00078 
00079 
00080 private: 
00081 
00082  // Methods PRIVATE
00083  // 
00084 
00085 
00086  // Fields PRIVATE
00087  //
00088 Standard_Integer myKey;
00089 TColStd_MapOfInteger myValue;
00090 
00091 
00092 };
00093 
00094 #define TheKey Standard_Integer
00095 #define TheKey_hxx <Standard_Integer.hxx>
00096 #define TheItem TColStd_MapOfInteger
00097 #define TheItem_hxx <TColStd_MapOfInteger.hxx>
00098 #define Hasher TColStd_MapIntegerHasher
00099 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
00100 #define TCollection_DataMapNode NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
00101 #define TCollection_DataMapNode_hxx <NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
00102 #define TCollection_DataMapIterator NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger
00103 #define TCollection_DataMapIterator_hxx <NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger.hxx>
00104 #define Handle_TCollection_DataMapNode Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
00105 #define TCollection_DataMapNode_Type_() NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_Type_()
00106 #define TCollection_DataMap NMTDS_DataMapOfIntegerMapOfInteger
00107 #define TCollection_DataMap_hxx <NMTDS_DataMapOfIntegerMapOfInteger.hxx>
00108 
00109 #include <TCollection_DataMapNode.lxx>
00110 
00111 #undef TheKey
00112 #undef TheKey_hxx
00113 #undef TheItem
00114 #undef TheItem_hxx
00115 #undef Hasher
00116 #undef Hasher_hxx
00117 #undef TCollection_DataMapNode
00118 #undef TCollection_DataMapNode_hxx
00119 #undef TCollection_DataMapIterator
00120 #undef TCollection_DataMapIterator_hxx
00121 #undef Handle_TCollection_DataMapNode
00122 #undef TCollection_DataMapNode_Type_
00123 #undef TCollection_DataMap
00124 #undef TCollection_DataMap_hxx
00125 
00126 
00127 // other Inline functions and methods (like "C++: function call" methods)
00128 //
00129 
00130 
00131 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS