HYDRODATA_EXPORT virtual const ObjectKind GetKind() const;
- HYDRODATA_EXPORT bool Import( const TCollection_AsciiString& theFileName );
- HYDRODATA_EXPORT bool Export( const TCollection_AsciiString& theFileName );
+ HYDRODATA_EXPORT bool Import( const QString& theFileName );
+ HYDRODATA_EXPORT bool Export( const QString& theFileName );
HYDRODATA_EXPORT double Get( const QString& theType, double theDefault ) const;
HYDRODATA_EXPORT void Set( const QString& theType, double theCoefficient );
HYDRODATA_EXPORT void Clear();
- HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const;
HYDRODATA_EXPORT QString GetAttrName() const;
- HYDRODATA_EXPORT void SetAttrName( const QString& ) const;
+ HYDRODATA_EXPORT bool SetAttrName( const QString& ) const;
HYDRODATA_EXPORT QString GetAttrValue( const QString& theType ) const;
HYDRODATA_EXPORT void SetAttrValue( const QString& theType, const QString& theAttrValue ) const;
HYDRODATA_EXPORT QColor GetColor( const QString& theType ) const;
HYDRODATA_EXPORT void SetColor( const QString& theType, const QColor& theColor ) const;
-private:
- TCollection_ExtendedString toExtString( const QString& ) const;
- QString toQString( const TCollection_ExtendedString& ) const;
-
private:
Handle(TDataStd_NamedData) Map() const;
};