Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_ArtificialObject.h
index ee0a488993ed2b12d6c98bd800df10edf17b0c90..459a2b7b3f881db002bdeb23d9c1b06a695264b5 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // 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
@@ -25,9 +21,6 @@
 
 #include <HYDROData_Object.h>
 
-DEFINE_STANDARD_HANDLE(HYDROData_ArtificialObject, HYDROData_Object)
-
-
 /**\class HYDROData_ArtificialObject
  * \brief The artificial objects are objects created or planned for creation by human.
  *
@@ -44,7 +37,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_ArtificialObject);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_ArtificialObject, HYDROData_Object);
 
 protected:
 
@@ -52,7 +45,7 @@ protected:
    * Creates new object in the internal data structure. Use higher level objects 
    * to create objects with real content.
    */
-  HYDRODATA_EXPORT HYDROData_ArtificialObject();
+  HYDRODATA_EXPORT HYDROData_ArtificialObject( Geometry );
 
   /**
    * Destructs properties of the object and object itself, removes it from the document.