-#include <QString>
-#include <QStringList>
-#include <QVariant>
-
-IMPLEMENT_STANDARD_HANDLE(HYDROData_Object,MMgt_TShared)
-IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Object,MMgt_TShared)
-
-// is equal function for unique object mapping
-bool IsEqual(const Handle_HYDROData_Object& theObj1, const Handle_HYDROData_Object& theObj2)
-{
- return (theObj1->ID() == theObj2->ID());
-}
-
-QString HYDROData_Object::GetName() const
-{
- Handle(TDataStd_Name) aName;
- if (myLab.FindAttribute(TDataStd_Name::GetID(), aName)) {
- TCollection_AsciiString aStr(aName->Get());
- return QString(aStr.ToCString());
- }
- return QString();
-}
-
-void HYDROData_Object::SetName(const QString& theName)
-{
- TDataStd_Name::Set(myLab, TCollection_ExtendedString(theName.toLatin1().constData()));
-}
-
-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();
-}
-
-void HYDROData_Object::Remove()
-{
- return myLab.ForgetAllAttributes(Standard_True);
-}
+IMPLEMENT_STANDARD_HANDLE(HYDROData_Object,HYDROData_Entity)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Object,HYDROData_Entity)