Salome HOME
Changes for dumping image object to python script.
[modules/hydro.git] / src / HYDROData / HYDROData_Object.cxx
index eb9d0f7205de109e43a843c725ad74ae8b021a6e..46d5b3a59c819bde53d467624d687d52b17cb8ca 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <QString>
 #include <QStringList>
+#include <QVariant>
 
 IMPLEMENT_STANDARD_HANDLE(HYDROData_Object,MMgt_TShared)
 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Object,MMgt_TShared)
@@ -35,12 +36,21 @@ void HYDROData_Object::SetName(const QString& theName)
   TDataStd_Name::Set(myLab, TCollection_ExtendedString(theName.toLatin1().constData()));
 }
 
-QStringList HYDROData_Object::DumpToPython() const
+QStringList HYDROData_Object::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
 {
   QStringList anEmptyList;
   return anEmptyList;
 }
 
+void HYDROData_Object::Update( const bool theIsForce )
+{
+}
+
+QVariant HYDROData_Object::GetDataVariant()
+{
+  return QVariant();
+}
+
 bool HYDROData_Object::IsRemoved() const
 {
   return !myLab.HasAttribute();
@@ -96,7 +106,7 @@ void HYDROData_Object::SaveByteArray(const int theTag,
   }
 }
 
-const char* HYDROData_Object::ByteArray(const int theTag, int& theLen)
+const char* HYDROData_Object::ByteArray(const int theTag, int& theLen) const
 {
   TDF_Label aLab = theTag == 0 ? myLab : myLab.FindChild(theTag);
   Handle(TDataStd_ByteArray) aData;