UNIVERS
15.3
UNIVERS base processing software API
|
#include <hds_batch_module_parameter.hpp>
Public Types | |
enum | Type { Undefined = 0, Boolean, Integer, Double, String, StringList, Enum, File, LDB_Seismic } |
Public Member Functions | |
BatchModuleParameter () | |
BatchModuleParameter (const QVariant &value, const QString &comment) | |
virtual BatchModuleParameter * | clone () const |
virtual | ~BatchModuleParameter () |
virtual const QVariant & | value () const |
virtual void | setValue (const QVariant &value) |
virtual Type | type () const |
const QString & | comment () const |
void | setComment (const QString &comment) |
virtual void | info () const |
Static Public Member Functions | |
static QString | nameFromType (Type type) |
static Type | typeFromName (const QString &name) |
Protected Attributes | |
QVariant | m_value |
QString | m_comment |
Standard parameter of the module.
hds::BatchModuleParameter::BatchModuleParameter | ( | ) |
Constructs parameter with undefined type.
hds::BatchModuleParameter::BatchModuleParameter | ( | const QVariant & | value, |
const QString & | comment | ||
) |
Constructor with provided value and comment.
|
virtual |
Destructor.
|
virtual |
Make copy of the object.
Reimplemented in hds::BatchModuleLDBSeisParameter, hds::BatchModuleFileParameter, and hds::BatchModuleEnumParameter.
|
inline |
Get comment.
|
virtual |
Print parameter internal data.
Reimplemented in hds::BatchModuleFileParameter, and hds::BatchModuleEnumParameter.
|
static |
Name of the parameter from type.
|
inline |
Set comment.
|
inlinevirtual |
Set value.
Reimplemented in hds::BatchModuleFileParameter, and hds::BatchModuleEnumParameter.
|
virtual |
Get parameter type.
Reimplemented in hds::BatchModuleLDBSeisParameter, hds::BatchModuleFileParameter, and hds::BatchModuleEnumParameter.
|
static |
Type of the parameter from name.
|
inlinevirtual |
Get value.
Reimplemented in hds::BatchModuleFileParameter, and hds::BatchModuleEnumParameter.
|
protected |
Commentary.
|
protected |
Parameter's value.