Back to index

salome-gui  6.5.0
SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_0.cxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  SALOME SALOMEGUI : implementation of desktop and GUI kernel
00024 //  File   : SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_0.cxx
00025 //  Module : SALOME
00026 //
00027 #include "SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx"
00028 
00029 #ifndef _Standard_TypeMismatch_HeaderFile
00030 #include <Standard_TypeMismatch.hxx>
00031 #endif
00032 
00033 #ifndef _SALOME_InteractiveObject_HeaderFile
00034 #include "SALOME_InteractiveObject.hxx"
00035 #endif
00036 #ifndef _TColStd_IndexedMapOfInteger_HeaderFile
00037 #include <TColStd_IndexedMapOfInteger.hxx>
00038 #endif
00039 #ifndef _TColStd_MapTransientHasher_HeaderFile
00040 #include <TColStd_MapTransientHasher.hxx>
00041 #endif
00042 #ifndef _SALOME_DataMapOfIOMapOfInteger_HeaderFile
00043 #include "SALOME_DataMapOfIOMapOfInteger.hxx"
00044 #endif
00045 #ifndef _SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger_HeaderFile
00046 #include "SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger.hxx"
00047 #endif
00048 
00052 SALOME_DataMapNodeOfDataMapOfIOMapOfInteger::~SALOME_DataMapNodeOfDataMapOfIOMapOfInteger() {}
00053  
00054 
00055 
00059 Standard_EXPORT Handle_Standard_Type& SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_Type_()
00060 {
00061 
00062     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
00063   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
00064   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
00065   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
00066   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
00067   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
00068  
00069 
00070   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
00071   static Handle_Standard_Type _aType = new Standard_Type("SALOME_DataMapNodeOfDataMapOfIOMapOfInteger",
00072                                                          sizeof(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger),
00073                                                          1,
00074                                                          (Standard_Address)_Ancestors,
00075                                                          (Standard_Address)NULL);
00076 
00077   return _aType;
00078 }
00079 
00080 
00084 const Handle(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger) Handle(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger)::DownCast(const Handle(Standard_Transient)& AnObject) 
00085 {
00086   Handle(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger) _anOtherObject;
00087 
00088   if (!AnObject.IsNull()) {
00089      if (AnObject->IsKind(STANDARD_TYPE(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger))) {
00090        _anOtherObject = Handle(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger)((Handle(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger)&)AnObject);
00091      }
00092   }
00093 
00094   return _anOtherObject ;
00095 }
00096 
00100 const Handle(Standard_Type)& SALOME_DataMapNodeOfDataMapOfIOMapOfInteger::DynamicType() const 
00101 { 
00102   return STANDARD_TYPE(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger) ; 
00103 }
00104 
00109 Standard_Boolean SALOME_DataMapNodeOfDataMapOfIOMapOfInteger::IsKind(const Handle(Standard_Type)& AType) const 
00110 { 
00111   return (STANDARD_TYPE(SALOME_DataMapNodeOfDataMapOfIOMapOfInteger) == AType || TCollection_MapNode::IsKind(AType)); 
00112 }
00116 Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger::~Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger() {}
00117 #define TheKey Handle_SALOME_InteractiveObject
00118 #define TheKey_hxx "SALOME_InteractiveObject.hxx"
00119 #define TheItem TColStd_IndexedMapOfInteger
00120 #define TheItem_hxx <TColStd_IndexedMapOfInteger.hxx>
00121 #define Hasher TColStd_MapTransientHasher
00122 #define Hasher_hxx <TColStd_MapTransientHasher.hxx>
00123 #define TCollection_DataMapNode SALOME_DataMapNodeOfDataMapOfIOMapOfInteger
00124 #define TCollection_DataMapNode_hxx "SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx"
00125 #define TCollection_DataMapIterator SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger
00126 #define TCollection_DataMapIterator_hxx "SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger.hxx"
00127 #define Handle_TCollection_DataMapNode Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger
00128 #define TCollection_DataMapNode_Type_() SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_Type_()
00129 #define TCollection_DataMap SALOME_DataMapOfIOMapOfInteger
00130 #define TCollection_DataMap_hxx "SALOME_DataMapOfIOMapOfInteger.hxx"
00131 #include <TCollection_DataMapNode.gxx>
00132