00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OMGALGORITHMPARAMETER_H
00021 #define OMGALGORITHMPARAMETER_H
00022
00023 #include "omgserialisable.h"
00024
00025 #include <QString>
00026
00032 class OMG_LIB_EXPORT OmgAlgorithmParameter : public OmgSerialisable
00033 {
00034 public:
00035 OmgAlgorithmParameter();
00036 ~OmgAlgorithmParameter();
00037 OmgAlgorithmParameter(
00038 QString theId,
00039 QString theName,
00040 QString theDefault,
00041 QString theOverview,
00042 QString theDescription,
00043 QString theMinimum,
00044 QString theMaximum,
00045 QString theValue
00046 );
00047
00048
00049
00050
00051
00059 QString toXml() const;
00064 bool fromXml(const QString theXml) ;
00065
00075 QString toModelCreationXml() const;
00076
00078 QString toString() const;
00079
00080
00081 void setId(QString theId);
00082 void setName(QString theName);
00083 void setType(QString theType);
00084 void setDefault(QString theDefault);
00085 void setOverview(QString theOverview);
00086 void setDescription(QString theDescription);
00087 void setMinimum(QString theMinimum);
00088 void setMaximum(QString theMaximum);
00090 void setValue(QString theValue);
00091
00092
00093
00094
00095 QString id() const;
00096 QString name() const ;
00097 QString type() const ;
00098 QString overview() const ;
00099 QString defaultValue() const ;
00100 QString description() const;
00101 QString minimum() const ;
00102 QString maximum() const ;
00103 QString value() const ;
00104
00105 private:
00106 QString mId;
00107 QString mName;
00108 QString mType;
00109 QString mDefault;
00110 QString mOverview;
00111 QString mDescription;
00112 QString mMinimum;
00113 QString mMaximum;
00114 QString mValue;
00115 };
00116
00117 #endif //OMGALGORITHMPARAMETER_H