//#define _DEVDEBUG_
#include "HYDRO_trace.hxx"
-IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Document,MMgt_TShared)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Document,Standard_Transient)
#define PYTHON_DOC_NAME "hydro_doc"
#include <HYDROData_Entity.h>
#include <TDocStd_Document.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
class HYDROData_InterpolatorsFactory;
class HYDROData_IProfilesInterpolator;
* to provide access to all stored data.
*/
-class HYDROData_Document : public MMgt_TShared
+class HYDROData_Document : public Standard_Transient
{
public:
- DEFINE_STANDARD_RTTIEXT(HYDROData_Document, MMgt_TShared);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Document, Standard_Transient);
//! Returns the existing document or creates new if it is not exist
HYDRODATA_EXPORT static Handle(HYDROData_Document) Document();
{
}
-IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Entity,MMgt_TShared)
+IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Entity,Standard_Transient)
// is equal function for unique object mapping
bool IsEqual(const Handle(HYDROData_Entity)& theObj1, const Handle(HYDROData_Entity)& theObj2)
#include <QMap>
#include <QString>
#include <Standard_Type.hxx>
-#include <MMgt_TShared.hxx>
+#include <Standard_Transient.hxx>
#ifdef NONLS
#undef NONLS
* Managed by Document. Provides access to the common properties:
* kind of an object, name.
*/
-class HYDROData_Entity : public MMgt_TShared
+class HYDROData_Entity : public Standard_Transient
{
protected:
/**
};
public:
- DEFINE_STANDARD_RTTIEXT(HYDROData_Entity, MMgt_TShared);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Entity, Standard_Transient);
HYDRODATA_EXPORT static QString Type( ObjectKind );
HYDRODATA_EXPORT virtual QString GetType() const;