Salome HOME
Corrections of examples path after install with scbi
[modules/hydro.git] / src / HYDROData / HYDROData_Object.h
index e3646b21dc10311c3ca5548df119ef8a26e1944a..606cf2dc0d804a547a3810fa7fee13b2a04d6629 100644 (file)
@@ -57,7 +57,7 @@ public:
    * 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.
@@ -164,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 );
@@ -187,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();
@@ -195,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.