Salome HOME
Small correction for writing of data to file.
[modules/hydro.git] / src / HYDROData / HYDROData_Object.cxx
index fe71e385569bfe734eb73ea5afe2c925ca650543..c2bad239e1ab93cd2f530c6357895177d09699a9 100644 (file)
@@ -3,9 +3,13 @@
 #include <TDataStd_Name.hxx>
 #include <TDataStd_ByteArray.hxx>
 #include <TDataStd_UAttribute.hxx>
+#include <TDataStd_IntegerArray.hxx>
+#include <TDataStd_BooleanArray.hxx>
+#include <TDataStd_RealArray.hxx>
 #include <TDF_CopyLabel.hxx>
 
-static const Standard_GUID GUID_VISIBILITY("d6a715c5-9c86-4adc-8a6c-13188f3ad94b");
+#include <QString>
+#include <QStringList>
 
 IMPLEMENT_STANDARD_HANDLE(HYDROData_Object,MMgt_TShared)
 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Object,MMgt_TShared)
@@ -31,18 +35,10 @@ void HYDROData_Object::SetName(const QString& theName)
   TDataStd_Name::Set(myLab, TCollection_ExtendedString(theName.toLatin1().constData()));
 }
 
-bool HYDROData_Object::GetVisibility() const
+QStringList HYDROData_Object::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
 {
-  return myLab.IsAttribute(GUID_VISIBILITY);
-}
-
-void HYDROData_Object::SetVisibility(bool theState)
-{
-  if (theState) {
-    TDataStd_UAttribute::Set(myLab, GUID_VISIBILITY);
-  } else {
-    myLab.ForgetAttribute(GUID_VISIBILITY);
-  }
+  QStringList anEmptyList;
+  return anEmptyList;
 }
 
 bool HYDROData_Object::IsRemoved() const