HYDROData_Bathymetry.h
HYDROData_BSplineOperation.h
HYDROData_CalculationCase.h
+ HYDROData_Channel.h
+ HYDROData_Confluence.h
+ HYDROData_Digue.h
HYDROData_Document.h
HYDROData_Entity.h
HYDROData_IAltitudeObject.h
HYDROData_Lambert93.h
HYDROData_NaturalObject.h
HYDROData_Object.h
+ HYDROData_Obstacle.h
HYDROData_OperationsFactory.h
HYDROData_Polyline.h
HYDROData_Region.h
+ HYDROData_River.h
HYDROData_SplitToZonesTool.h
+ HYDROData_Stream.h
HYDROData_Tool.h
HYDROData_VisualState.h
HYDROData_Zone.h
HYDROData_Bathymetry.cxx
HYDROData_BSplineOperation.cxx
HYDROData_CalculationCase.cxx
+ HYDROData_Channel.cxx
+ HYDROData_Confluence.cxx
+ HYDROData_Digue.cxx
HYDROData_Document.cxx
HYDROData_Entity.cxx
HYDROData_IAltitudeObject.cxx
HYDROData_Lambert93.cxx
HYDROData_NaturalObject.cxx
HYDROData_Object.cxx
+ HYDROData_Obstacle.cxx
HYDROData_OperationsFactory.cxx
HYDROData_Polyline.cxx
HYDROData_Region.cxx
+ HYDROData_River.cxx
HYDROData_SplitToZonesTool.cxx
+ HYDROData_Stream.cxx
HYDROData_Tool.cxx
HYDROData_VisualState.cxx
HYDROData_Zone.cxx
--- /dev/null
+
+#include "HYDROData_Channel.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_CHANNEL_ID "KIND_CHANNEL"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Channel,HYDROData_ArtificialObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Channel,HYDROData_ArtificialObject)
+
+
+HYDROData_Channel::HYDROData_Channel()
+: HYDROData_ArtificialObject()
+{
+}
+
+HYDROData_Channel::~HYDROData_Channel()
+{
+}
+
+QStringList HYDROData_Channel::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString aChannelName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( aChannelName ).arg( aDocName ).arg( PYTHON_CHANNEL_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( aChannelName ).arg( aChannelName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_Channel::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_Channel::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_Channel_HeaderFile
+#define HYDROData_Channel_HeaderFile
+
+#include "HYDROData_ArtificialObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_Channel, HYDROData_ArtificialObject)
+
+/**\class HYDROData_Channel
+ * \brief
+ *
+ */
+class HYDROData_Channel : public HYDROData_ArtificialObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_Channel);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_CHANNEL;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_Channel();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_Channel();
+};
+
+#endif
--- /dev/null
+
+#include "HYDROData_Confluence.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_CONFLUENCE_ID "KIND_CONFLUENCE"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Confluence,HYDROData_NaturalObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Confluence,HYDROData_NaturalObject)
+
+
+HYDROData_Confluence::HYDROData_Confluence()
+: HYDROData_NaturalObject()
+{
+}
+
+HYDROData_Confluence::~HYDROData_Confluence()
+{
+}
+
+QStringList HYDROData_Confluence::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString aConfluenceName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( aConfluenceName ).arg( aDocName ).arg( PYTHON_CONFLUENCE_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( aConfluenceName ).arg( aConfluenceName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_Confluence::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_Confluence::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_Confluence_HeaderFile
+#define HYDROData_Confluence_HeaderFile
+
+#include "HYDROData_NaturalObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_Confluence, HYDROData_NaturalObject)
+
+/**\class HYDROData_Confluence
+ * \brief
+ *
+ */
+class HYDROData_Confluence : public HYDROData_NaturalObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_Confluence);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_RIVER;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_Confluence();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_Confluence();
+};
+
+#endif
--- /dev/null
+
+#include "HYDROData_Digue.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_DIGUE_ID "KIND_DIGUE"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Digue,HYDROData_ArtificialObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Digue,HYDROData_ArtificialObject)
+
+
+HYDROData_Digue::HYDROData_Digue()
+: HYDROData_ArtificialObject()
+{
+}
+
+HYDROData_Digue::~HYDROData_Digue()
+{
+}
+
+QStringList HYDROData_Digue::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString aDigueName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( aDigueName ).arg( aDocName ).arg( PYTHON_DIGUE_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( aDigueName ).arg( aDigueName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_Digue::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_Digue::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_Digue_HeaderFile
+#define HYDROData_Digue_HeaderFile
+
+#include "HYDROData_ArtificialObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_Digue, HYDROData_ArtificialObject)
+
+/**\class HYDROData_Digue
+ * \brief
+ *
+ */
+class HYDROData_Digue : public HYDROData_ArtificialObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_Digue);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_DIGUE;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_Digue();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_Digue();
+};
+
+#endif
const ObjectKind KIND_BATHYMETRY = 3;
const ObjectKind KIND_ALTITUDE = 4;
const ObjectKind KIND_IMMERSIBLE_ZONE = 5;
-const ObjectKind KIND_GUIDE_LINE = 6;
-const ObjectKind KIND_PROFILE = 7;
-const ObjectKind KIND_CALCULATION = 8;
-const ObjectKind KIND_ZONE = 9;
-const ObjectKind KIND_REGION = 10;
-const ObjectKind KIND_VISUAL_STATE = 11;
+const ObjectKind KIND_RIVER = 6;
+const ObjectKind KIND_STREAM = 7;
+const ObjectKind KIND_CONFLUENCE = 8;
+const ObjectKind KIND_CHANNEL = 9;
+const ObjectKind KIND_OBSTACLE = 10;
+const ObjectKind KIND_DIGUE = 11;
+const ObjectKind KIND_PROFILE = 12;
+const ObjectKind KIND_PROFILEUZ = 13;
+const ObjectKind KIND_POLYLINEXY = 14;
+const ObjectKind KIND_CALCULATION = 15;
+const ObjectKind KIND_ZONE = 16;
+const ObjectKind KIND_REGION = 17;
+const ObjectKind KIND_VISUAL_STATE = 18;
const ObjectKind KIND_LAST = KIND_VISUAL_STATE;
DEFINE_STANDARD_HANDLE(HYDROData_Entity, MMgt_TShared)
#include "HYDROData_AltitudeObject.h"
#include "HYDROData_Bathymetry.h"
#include "HYDROData_CalculationCase.h"
+#include "HYDROData_Channel.h"
+#include "HYDROData_Confluence.h"
+#include "HYDROData_Digue.h"
#include "HYDROData_Image.h"
#include "HYDROData_ImmersibleZone.h"
+#include "HYDROData_Obstacle.h"
#include "HYDROData_Polyline.h"
#include "HYDROData_VisualState.h"
#include "HYDROData_Region.h"
+#include "HYDROData_River.h"
+#include "HYDROData_Stream.h"
#include "HYDROData_Zone.h"
#include <TDataStd_Name.hxx>
case KIND_IMMERSIBLE_ZONE:
aResult = new HYDROData_ImmersibleZone();
break;
+ case KIND_RIVER:
+ aResult = new HYDROData_River();
+ break;
+ case KIND_STREAM:
+ aResult = new HYDROData_Stream();
+ break;
+ case KIND_CONFLUENCE:
+ aResult = new HYDROData_Confluence();
+ break;
+ case KIND_CHANNEL:
+ aResult = new HYDROData_Channel();
+ break;
+ case KIND_OBSTACLE:
+ aResult = new HYDROData_Obstacle();
+ break;
+ case KIND_DIGUE:
+ aResult = new HYDROData_Digue();
+ break;
case KIND_CALCULATION:
aResult = new HYDROData_CalculationCase();
break;
--- /dev/null
+
+#include "HYDROData_Obstacle.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_OBSTACLE_ID "KIND_OBSTACLE"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Obstacle,HYDROData_ArtificialObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Obstacle,HYDROData_ArtificialObject)
+
+
+HYDROData_Obstacle::HYDROData_Obstacle()
+: HYDROData_ArtificialObject()
+{
+}
+
+HYDROData_Obstacle::~HYDROData_Obstacle()
+{
+}
+
+QStringList HYDROData_Obstacle::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString anObstacleName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( anObstacleName ).arg( aDocName ).arg( PYTHON_OBSTACLE_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( anObstacleName ).arg( anObstacleName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_Obstacle::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_Obstacle::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_Obstacle_HeaderFile
+#define HYDROData_Obstacle_HeaderFile
+
+#include "HYDROData_ArtificialObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_Obstacle, HYDROData_ArtificialObject)
+
+/**\class HYDROData_Obstacle
+ * \brief
+ *
+ */
+class HYDROData_Obstacle : public HYDROData_ArtificialObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_Obstacle);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_OBSTACLE;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_Obstacle();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_Obstacle();
+};
+
+#endif
--- /dev/null
+
+#include "HYDROData_River.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_RIVER_ID "KIND_RIVER"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_River,HYDROData_NaturalObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_River,HYDROData_NaturalObject)
+
+
+HYDROData_River::HYDROData_River()
+: HYDROData_NaturalObject()
+{
+}
+
+HYDROData_River::~HYDROData_River()
+{
+}
+
+QStringList HYDROData_River::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString aRiverName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( aRiverName ).arg( aDocName ).arg( PYTHON_RIVER_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( aRiverName ).arg( aRiverName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_River::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_River::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_River_HeaderFile
+#define HYDROData_River_HeaderFile
+
+#include "HYDROData_NaturalObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_River, HYDROData_NaturalObject)
+
+/**\class HYDROData_River
+ * \brief
+ *
+ */
+class HYDROData_River : public HYDROData_NaturalObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_River);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_RIVER;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_River();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_River();
+};
+
+#endif
--- /dev/null
+
+#include "HYDROData_Stream.h"
+
+#include "HYDROData_Document.h"
+
+#include <TopoDS_Shape.hxx>
+
+#include <QStringList>
+
+#define PYTHON_STREAM_ID "KIND_STREAM"
+
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Stream,HYDROData_NaturalObject)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Stream,HYDROData_NaturalObject)
+
+
+HYDROData_Stream::HYDROData_Stream()
+: HYDROData_NaturalObject()
+{
+}
+
+HYDROData_Stream::~HYDROData_Stream()
+{
+}
+
+QStringList HYDROData_Stream::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+{
+ QStringList aResList;
+
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
+ if ( aDocument.IsNull() )
+ return aResList;
+
+ QString aDocName = aDocument->GetDocPyName();
+ QString aStreamName = GetName();
+
+ aResList << QString( "%1 = %2.CreateObject( %3 );" )
+ .arg( aStreamName ).arg( aDocName ).arg( PYTHON_STREAM_ID );
+ aResList << QString( "%1.SetName( \"%2\" );" )
+ .arg( aStreamName ).arg( aStreamName );
+ aResList << QString( "" );
+
+ // TODO
+
+ return aResList;
+}
+
+TopoDS_Shape HYDROData_Stream::GetTopShape() const
+{
+ // TODO
+ return getTopShape();
+}
+
+TopoDS_Shape HYDROData_Stream::GetShape3D() const
+{
+ // TODO
+ return getShape3D();
+}
+
+
+
--- /dev/null
+
+#ifndef HYDROData_Stream_HeaderFile
+#define HYDROData_Stream_HeaderFile
+
+#include "HYDROData_NaturalObject.h"
+
+DEFINE_STANDARD_HANDLE(HYDROData_Stream, HYDROData_NaturalObject)
+
+/**\class HYDROData_Stream
+ * \brief
+ *
+ */
+class HYDROData_Stream : public HYDROData_NaturalObject
+{
+protected:
+ /**
+ * Enumeration of tags corresponding to the persistent object parameters.
+ */
+ enum DataTag
+ {
+ DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
+ };
+
+public:
+ DEFINE_STANDARD_RTTI(HYDROData_Stream);
+
+ /**
+ * Returns the kind of this object. Must be redefined in all objects of known type.
+ */
+ HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_STREAM;}
+
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
+ /**
+ * Returns the top shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
+
+ /**
+ * Returns the 3d shape of the object.
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
+
+protected:
+
+ friend class HYDROData_Iterator;
+
+ /**
+ * Creates new object in the internal data structure. Use higher level objects
+ * to create objects with real content.
+ */
+ HYDRODATA_EXPORT HYDROData_Stream();
+
+ /**
+ * Destructs properties of the object and object itself, removes it from the document.
+ */
+ virtual HYDRODATA_EXPORT ~HYDROData_Stream();
+};
+
+#endif