\r
#include <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>\r
\r
+#include <Basics_OCCTVersion.hxx>\r
+\r
#ifndef _Standard_TypeMismatch_HeaderFile\r
#include <Standard_TypeMismatch.hxx>\r
#endif\r
#endif\r
\r
\r
+#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1\r
+\r
+IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)\r
+IMPLEMENT_STANDARD_SUPERTYPE_ARRAY()\r
+ STANDARD_TYPE(TCollection_MapNode),\r
+ STANDARD_TYPE(MMgt_TShared),\r
+ STANDARD_TYPE(Standard_Transient),\r
+\r
+IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END()\r
+IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)\r
\r
+IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,Standard_Transient)\r
+IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)\r
+\r
+#else\r
\r
Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()\r
{\r
-\r
- static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);\r
+ static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);\r
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);\r
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);\r
- \r
\r
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};\r
static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapePnt",\r
return _aType;\r
}\r
\r
-\r
// DownCast method\r
// allow safe downcasting\r
//\r
}\r
}\r
\r
- return _anOtherObject ;\r
+ return _anOtherObject;\r
}\r
+\r
const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::DynamicType() const \r
{ \r
- return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) ; \r
+ return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt); \r
}\r
-//Standard_Boolean GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::IsKind(const Handle(Standard_Type)& AType) const \r
-//{ \r
-// return (STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) == AType || TCollection_MapNode::IsKind(AType)); \r
-//}\r
-//Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::~Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt() {}\r
+\r
+#endif\r
+\r
#define TheKey TopoDS_Shape\r
#define TheKey_hxx <TopoDS_Shape.hxx>\r
#define TheItem gp_Pnt\r