#include <omgalgorithmparameter.h>
Inheritance diagram for OmgAlgorithmParameter:
Definition at line 32 of file omgalgorithmparameter.h.
Public Member Functions | |
OmgAlgorithmParameter () | |
~OmgAlgorithmParameter () | |
OmgAlgorithmParameter (QString theId, QString theName, QString theDefault, QString theOverview, QString theDescription, QString theMinimum, QString theMaximum, QString theValue) | |
QString | toXml () const |
bool | fromXml (const QString theXml) |
QString | toModelCreationXml () const |
QString | toString () const |
void | setId (QString theId) |
void | setName (QString theName) |
void | setType (QString theType) |
void | setDefault (QString theDefault) |
void | setOverview (QString theOverview) |
void | setDescription (QString theDescription) |
void | setMinimum (QString theMinimum) |
void | setMaximum (QString theMaximum) |
void | setValue (QString theValue) |
QString | id () const |
QString | name () const |
QString | type () const |
QString | overview () const |
QString | defaultValue () const |
QString | description () const |
QString | minimum () const |
QString | maximum () const |
QString | value () const |
Private Attributes | |
QString | mId |
QString | mName |
QString | mType |
QString | mDefault |
QString | mOverview |
QString | mDescription |
QString | mMinimum |
QString | mMaximum |
QString | mValue |
|
Definition at line 25 of file omgalgorithmparameter.cpp. |
|
Definition at line 27 of file omgalgorithmparameter.cpp. |
|
Definition at line 29 of file omgalgorithmparameter.cpp. |
|
Definition at line 97 of file omgalgorithmparameter.cpp. References mDefault. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), toModelCreationXml(), and toXml(). |
|
Definition at line 105 of file omgalgorithmparameter.cpp. References mDescription. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and toXml(). |
|
Implments the serialisable interface method to reinstate an algorithm. It will try to populate all members of this class and fail gracefully when they are not available (typically by leaving the member tagged as [Not Set] Implements OmgSerialisable. Definition at line 172 of file omgalgorithmparameter.cpp. References setDefault(), setDescription(), setId(), setMaximum(), setMinimum(), setName(), setOverview(), setType(), and setValue(). Referenced by OmgAlgorithm::fromXml(). |
Here is the call graph for this function:
|
Definition at line 85 of file omgalgorithmparameter.cpp. References mId. Referenced by OmgAlgorithmManager::on_pbnApply_clicked(), OmgAlgorithm::parameter(), OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and OmgAlgorithm::toString(). |
|
Definition at line 113 of file omgalgorithmparameter.cpp. References mMaximum. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and toXml(). |
|
Definition at line 109 of file omgalgorithmparameter.cpp. References mMinimum. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and toXml(). |
|
Definition at line 89 of file omgalgorithmparameter.cpp. References mName. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and toXml(). |
|
Definition at line 101 of file omgalgorithmparameter.cpp. References mOverview. Referenced by toXml(). |
|
Definition at line 61 of file omgalgorithmparameter.cpp. References mDefault. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 69 of file omgalgorithmparameter.cpp. References mDescription. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 49 of file omgalgorithmparameter.cpp. References mId. Referenced by fromXml(), OmgModellerLocalPlugin::getAlgorithm(), and OmgAlgorithm::parameter(). |
|
Definition at line 77 of file omgalgorithmparameter.cpp. References mMaximum. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 73 of file omgalgorithmparameter.cpp. References mMinimum. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 53 of file omgalgorithmparameter.cpp. References mName. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 65 of file omgalgorithmparameter.cpp. References mOverview. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
Definition at line 57 of file omgalgorithmparameter.cpp. References mType. Referenced by fromXml(), and OmgModellerLocalPlugin::getAlgorithm(). |
|
The user defined value for this parameter Definition at line 81 of file omgalgorithmparameter.cpp. References mValue. Referenced by fromXml(), and OmgAlgorithmManager::on_pbnApply_clicked(). |
|
This is a special case serialiser needed for when preparing an xml representation of a parameter to send to the openmodeller library (or openmodeller web service interface). The xml produced will include no ancilliary meta information - only the essentials needed for the algorithm. For example: <Parameter Value="0.674" Id="StandardDeviationCutoff" />
Definition at line 158 of file omgalgorithmparameter.cpp. References defaultValue(), and value(). Referenced by OmgAlgorithm::toModelCreationXml(), and OmgAlgorithm::toModelProjectionXml(). |
Here is the call graph for this function:
|
Provide a string representation of this param Definition at line 121 of file omgalgorithmparameter.cpp. References mDefault, mDescription, mId, mMaximum, mMinimum, mName, mType, and mValue. |
|
This method is required for the serialiseable interface. It will encapsulate *all* algorithm parameters so that its complete state can be serialised and later deserialised.
Implements OmgSerialisable. Definition at line 134 of file omgalgorithmparameter.cpp. References defaultValue(), description(), maximum(), minimum(), name(), overview(), type(), and value(). Referenced by OmgAlgorithm::toXml(). |
Here is the call graph for this function:
|
Definition at line 93 of file omgalgorithmparameter.cpp. References mType. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), and toXml(). |
|
Definition at line 117 of file omgalgorithmparameter.cpp. References mValue. Referenced by OmgAlgorithmManager::setParametersGui(), OmgAlgorithm::toHtml(), toModelCreationXml(), OmgAlgorithm::toString(), and toXml(). |
|
Definition at line 109 of file omgalgorithmparameter.h. Referenced by defaultValue(), setDefault(), and toString(). |
|
Definition at line 111 of file omgalgorithmparameter.h. Referenced by description(), setDescription(), and toString(). |
|
Definition at line 106 of file omgalgorithmparameter.h. Referenced by id(), setId(), and toString(). |
|
Definition at line 113 of file omgalgorithmparameter.h. Referenced by maximum(), setMaximum(), and toString(). |
|
Definition at line 112 of file omgalgorithmparameter.h. Referenced by minimum(), setMinimum(), and toString(). |
|
Definition at line 107 of file omgalgorithmparameter.h. Referenced by name(), setName(), and toString(). |
|
Definition at line 110 of file omgalgorithmparameter.h. Referenced by overview(), and setOverview(). |
|
Definition at line 108 of file omgalgorithmparameter.h. Referenced by setType(), toString(), and type(). |
|
Definition at line 114 of file omgalgorithmparameter.h. Referenced by setValue(), toString(), and value(). |