2009-02-13 17:16:39 +05:00
|
|
|
// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2009-02-13 17:16:39 +05:00
|
|
|
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
|
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2009-02-13 17:16:39 +05:00
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2.1 of the License.
|
|
|
|
//
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
//
|
|
|
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2004-12-01 15:39:14 +05:00
|
|
|
#include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
|
|
|
|
|
|
|
|
#ifndef _Standard_TypeMismatch_HeaderFile
|
|
|
|
#include <Standard_TypeMismatch.hxx>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _Standard_Transient_HeaderFile
|
|
|
|
#include <Standard_Transient.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _TCollection_AsciiString_HeaderFile
|
|
|
|
#include <TCollection_AsciiString.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
|
|
|
|
#include <GEOM_DataMapOfAsciiStringTransient.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
|
|
|
|
#include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
|
|
|
|
#endif
|
|
|
|
GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Standard_EXPORT Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
|
|
|
|
{
|
|
|
|
|
|
|
|
static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
|
|
|
|
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
|
|
|
|
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
|
|
|
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
|
|
|
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
|
|
|
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
|
|
|
|
|
|
|
|
|
|
|
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
|
|
|
static Handle_Standard_Type _aType = new Standard_Type("GEOM_DataMapNodeOfDataMapOfAsciiStringTransient",
|
|
|
|
sizeof(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient),
|
|
|
|
1,
|
|
|
|
(Standard_Address)_Ancestors,
|
|
|
|
(Standard_Address)NULL);
|
|
|
|
|
|
|
|
return _aType;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// DownCast method
|
|
|
|
// allow safe downcasting
|
|
|
|
//
|
|
|
|
const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)::DownCast(const Handle(Standard_Transient)& AnObject)
|
|
|
|
{
|
|
|
|
Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) _anOtherObject;
|
|
|
|
|
|
|
|
if (!AnObject.IsNull()) {
|
|
|
|
if (AnObject->IsKind(STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient))) {
|
|
|
|
_anOtherObject = Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)((Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)&)AnObject);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return _anOtherObject ;
|
|
|
|
}
|
|
|
|
const Handle(Standard_Type)& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::DynamicType() const
|
|
|
|
{
|
|
|
|
return STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) ;
|
|
|
|
}
|
|
|
|
Standard_Boolean GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::IsKind(const Handle(Standard_Type)& AType) const
|
|
|
|
{
|
|
|
|
return (STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) == AType || TCollection_MapNode::IsKind(AType));
|
|
|
|
}
|
|
|
|
Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
|
|
|
|
#define TheKey TCollection_AsciiString
|
|
|
|
#define TheKey_hxx <TCollection_AsciiString.hxx>
|
|
|
|
#define TheItem Handle_Standard_Transient
|
|
|
|
#define TheItem_hxx <Standard_Transient.hxx>
|
|
|
|
#define Hasher TCollection_AsciiString
|
|
|
|
#define Hasher_hxx <TCollection_AsciiString.hxx>
|
|
|
|
#define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
|
|
|
|
#define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
|
|
|
|
#define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
|
|
|
|
#define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
|
|
|
|
#define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
|
|
|
|
#define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
|
|
|
|
#define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
|
|
|
|
#define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
|
|
|
|
#include <TCollection_DataMapNode.gxx>
|
|
|
|
|