enum DataTag
{
DataTag_First = HYDROData_Entity::DataTag_First + 100, ///< first tag, to reserve
+ DataTag_ChildZone, ///< child zones
DataTag_Zone, ///< reference zones
};
- /**
- * Enumeration of tags corresponding to the child sub-objects of object.
- */
- enum ChildTag
- {
- ChildTag_First = HYDROData_Entity::ChildTag_First + 100, ///< first tag, to reserve
- ChildTag_Zone ///< child zones
- };
-
public:
DEFINE_STANDARD_RTTI(HYDROData_Region);
/**
* Add new one reference zone for region.
+ * The label of theZone is changed in case if old parent is not this region.
*/
- HYDRODATA_EXPORT virtual bool AddZone( Handle(HYDROData_Zone)& theZone );
+ HYDRODATA_EXPORT virtual bool AddZone( const Handle(HYDROData_Zone)& theZone );
/**
* Returns all reference zone of region.
* Create new one reference zone for region on child label.
* The new zone is added into the list of reference zones.
*/
- HYDRODATA_EXPORT virtual Handle(HYDROData_Zone) AddNewZone();
+ HYDRODATA_EXPORT virtual Handle(HYDROData_Zone) addNewZone();
protected:
- friend class HYDROData_Calculation;
+ friend class HYDROData_CalculationCase;
friend class HYDROData_Iterator;
/**