#include <NCollection_Sequence.hxx>
#include <TDF_Label.hxx>
#include <QMap>
-#include <QString>
+
+class QString;
+class QStringList;
///! Kind of an object in a document
typedef int ObjectKind;
DEFINE_STANDARD_HANDLE(HYDROData_Object, MMgt_TShared)
+typedef QMap<QString,Handle(Standard_Transient)> MapOfTreatedObjects;
+
/**\class HYDROData_Object
* \brief Generic class of any object in the data model.
*
*/
HYDRODATA_EXPORT void SetName(const QString& theName);
+ /**
+ * Dump object to Python script representation.
+ * Base implementation returns empty list,
+ * You should reimplement this function in your derived class if it
+ * has Python API and can be imported/exported from/to Python script.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
/**
* Checks is object exists in the data structure.
* \returns true is object is not exists in the data model