HYDRODATA_EXPORT bool Import( const TCollection_AsciiString& theFileName );
HYDRODATA_EXPORT bool Export( const TCollection_AsciiString& theFileName );
- HYDRODATA_EXPORT double Get( const TCollection_ExtendedString& theType, double theDefault ) const;
- HYDRODATA_EXPORT void Set( const TCollection_ExtendedString& theType, double theCoefficient );
+ HYDRODATA_EXPORT double Get( const QString& theType, double theDefault ) const;
+ HYDRODATA_EXPORT void Set( const QString& theType, double theCoefficient );
- HYDRODATA_EXPORT TColStd_SequenceOfExtendedString GetTypes() const;
+ HYDRODATA_EXPORT QStringList GetTypes() const;
+ HYDRODATA_EXPORT void GetCoefficientRange( double& theMin, double& theMax ) const;
+
+ HYDRODATA_EXPORT bool HasType( const QString& theType ) const;
HYDRODATA_EXPORT void Clear();
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+private:
+ TCollection_ExtendedString toExtString( const QString& ) const;
+ QString toQString( const TCollection_ExtendedString& ) const;
+
private:
Handle(TDataStd_NamedData) Map() const;
};