Back to index

salome-geom  6.5.0
GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_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 #include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
00024 
00025 #ifndef _Standard_TypeMismatch_HeaderFile
00026 #include <Standard_TypeMismatch.hxx>
00027 #endif
00028 
00029 #ifndef _Standard_Transient_HeaderFile
00030 #include <Standard_Transient.hxx>
00031 #endif
00032 #ifndef _TCollection_AsciiString_HeaderFile
00033 #include <TCollection_AsciiString.hxx>
00034 #endif
00035 #ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
00036 #include <GEOM_DataMapOfAsciiStringTransient.hxx>
00037 #endif
00038 #ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
00039 #include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
00040 #endif
00041 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
00042  
00043 
00044 
00045 Standard_EXPORT Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
00046 {
00047 
00048     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
00049   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
00050   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
00051   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
00052   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
00053   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
00054  
00055 
00056   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
00057   static Handle_Standard_Type _aType = new Standard_Type("GEOM_DataMapNodeOfDataMapOfAsciiStringTransient",
00058                                                          sizeof(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient),
00059                                                          1,
00060                                                          (Standard_Address)_Ancestors,
00061                                                          (Standard_Address)NULL);
00062 
00063   return _aType;
00064 }
00065 
00066 
00067 // DownCast method
00068 //   allow safe downcasting
00069 //
00070 const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)::DownCast(const Handle(Standard_Transient)& AnObject) 
00071 {
00072   Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) _anOtherObject;
00073 
00074   if (!AnObject.IsNull()) {
00075      if (AnObject->IsKind(STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient))) {
00076        _anOtherObject = Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)((Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)&)AnObject);
00077      }
00078   }
00079 
00080   return _anOtherObject ;
00081 }
00082 const Handle(Standard_Type)& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::DynamicType() const 
00083 { 
00084   return STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) ; 
00085 }
00086 Standard_Boolean GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::IsKind(const Handle(Standard_Type)& AType) const 
00087 { 
00088   return (STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) == AType || TCollection_MapNode::IsKind(AType)); 
00089 }
00090 Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
00091 #define TheKey TCollection_AsciiString
00092 #define TheKey_hxx <TCollection_AsciiString.hxx>
00093 #define TheItem Handle_Standard_Transient
00094 #define TheItem_hxx <Standard_Transient.hxx>
00095 #define Hasher TCollection_AsciiString
00096 #define Hasher_hxx <TCollection_AsciiString.hxx>
00097 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
00098 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
00099 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
00100 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
00101 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
00102 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
00103 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
00104 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
00105 #include <TCollection_DataMapNode.gxx>
00106