Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SIP: HYDROData_Profile is included.
[modules/hydro.git]
/
src
/
HYDROPy
/
HYDROData_Entity.sip
diff --git
a/src/HYDROPy/HYDROData_Entity.sip
b/src/HYDROPy/HYDROData_Entity.sip
index 3bba4c53cb946bcc08eebbc7f189e6febd537534..f5b75504d82f368aa824f77125b3b9c27b530932 100644
(file)
--- a/
src/HYDROPy/HYDROData_Entity.sip
+++ b/
src/HYDROPy/HYDROData_Entity.sip
@@
-67,6
+67,10
@@
class HYDROData_Entity
sipClass = sipClass_HYDROData_Bathymetry;
break;
sipClass = sipClass_HYDROData_Bathymetry;
break;
+ case KIND_OBSTACLE_ALTITUDE:
+ sipClass = sipClass_HYDROData_ObstacleAltitude;
+ break;
+
case KIND_IMMERSIBLE_ZONE:
sipClass = sipClass_HYDROData_ImmersibleZone;
break;
case KIND_IMMERSIBLE_ZONE:
sipClass = sipClass_HYDROData_ImmersibleZone;
break;
@@
-75,6
+79,14
@@
class HYDROData_Entity
sipClass = sipClass_HYDROData_CalculationCase;
break;
sipClass = sipClass_HYDROData_CalculationCase;
break;
+ case KIND_OBSTACLE:
+ sipClass = sipClass_HYDROData_Obstacle;
+ break;
+
+ case KIND_PROFILE:
+ sipClass = sipClass_HYDROData_Profile;
+ break;
+
case KIND_REGION:
sipClass = sipClass_HYDROData_Region;
break;
case KIND_REGION:
sipClass = sipClass_HYDROData_Region;
break;
@@
-83,6
+95,10
@@
class HYDROData_Entity
sipClass = sipClass_HYDROData_Zone;
break;
sipClass = sipClass_HYDROData_Zone;
break;
+ case KIND_SHAPES_GROUP:
+ sipClass = sipClass_HYDROData_ShapesGroup;
+ break;
+
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_Entity;
break;
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_Entity;
break;
@@
-98,22
+114,22
@@
public:
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
*/
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
*/
- const ObjectKind GetKind() const;
+
virtual
const ObjectKind GetKind() const;
/**
* Returns the name of this object.
*/
/**
* Returns the name of this object.
*/
- QString GetName() const;
+
virtual
QString GetName() const;
/**
* Updates the name of this object.
*/
/**
* Updates the name of this object.
*/
- void SetName(const QString& theName);
+ v
irtual v
oid SetName(const QString& theName);
/**
* Updates object state.
*/
/**
* Updates object state.
*/
- void Update();
+ v
irtual v
oid Update();
/**
* Checks is object exists in the data structure.
/**
* Checks is object exists in the data structure.
@@
-140,6
+156,12
@@
public:
void CopyTo( HYDROData_Entity theDestination ) const;
*/
void CopyTo( HYDROData_Entity theDestination ) const;
*/
+ /**
+ * Returns the list of all reference objects of this object.
+ * Base implementation always return empty list.
+ */
+ virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+
protected:
/**
protected:
/**