X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Object.h;h=606cf2dc0d804a547a3810fa7fee13b2a04d6629;hb=HEAD;hp=0c217f274a6464e8e44d93c5271e4c7de578453b;hpb=9c947f35615e69e9e54a8c4b074dd1f2be13689c;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Object.h b/src/HYDROData/HYDROData_Object.h index 0c217f27..606cf2dc 100644 --- a/src/HYDROData/HYDROData_Object.h +++ b/src/HYDROData/HYDROData_Object.h @@ -21,12 +21,10 @@ #include -DEFINE_STANDARD_HANDLE(HYDROData_Object, HYDROData_Entity) - class TopoDS_Shape; -class Handle(HYDROData_IAltitudeObject); -class Handle(HYDROData_DummyObject3D); -class Handle(HYDROData_ShapesGroup); +class HYDROData_IAltitudeObject; +class HYDROData_DummyObject3D; +class HYDROData_ShapesGroup; /**\class HYDROData_Object * \brief The base class for all geometrical objects in the HYDRO module. @@ -53,13 +51,13 @@ protected: }; public: - DEFINE_STANDARD_RTTI(HYDROData_Object); + DEFINE_STANDARD_RTTIEXT(HYDROData_Object, HYDROData_Entity); /** * Updates the name of this object. * Reimplemented to update the names child groups. */ - HYDRODATA_EXPORT virtual void SetName( const QString& theName ); + HYDRODATA_EXPORT virtual void SetName( const QString& theName, bool isDefault = false ); /** * Update the geometry object. @@ -166,7 +164,7 @@ public: protected: /** - * Creates new object in the internal data structure. Use higher level objects + * Creates new object in the internal data structure. Use higher level objects * to create objects with real content. */ HYDRODATA_EXPORT HYDROData_Object( Geometry ); @@ -189,7 +187,7 @@ protected: /** * Checks and if necessary create child 3D object. - * Reimplement this function in your subclass if you + * Reimplement this function in your subclass if you * do not want to create child 3D object. */ HYDRODATA_EXPORT virtual void checkAndSetObject3D(); @@ -197,7 +195,7 @@ protected: /** * Returns the type of child altitude object. - * Base implementation returns KIND_UNKNOWN, it means that child altitude + * Base implementation returns KIND_UNKNOWN, it means that child altitude * object will not be created inside of checkAndSetAltitudeObject() function. * Reimplement this function in your subclass an return correct altitude * object type if you want to create child altitude object.