#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)
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
}
}
-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;