UNIVERS
15.3
UNIVERS base processing software API
|
#include <hds_batch_module_file_parameter.hpp>
Public Types | |
enum | OpenMode { ReadWrite = 0, ReadOnly, WriteOnly } |
Public Types inherited from hds::BatchModuleParameter | |
enum | Type { Undefined = 0, Boolean, Integer, Double, String, StringList, Enum, File, LDB_Seismic } |
Public Member Functions | |
BatchModuleFileParameter (OpenMode mode=ReadWrite) | |
BatchModuleFileParameter (const QVariant &value, const QString &comment, OpenMode mode=ReadWrite) | |
virtual BatchModuleParameter * | clone () const |
virtual | ~BatchModuleFileParameter () |
virtual const QVariant & | value () const |
virtual void | setValue (const QVariant &value) |
OpenMode | openMode () const |
void | setOpenMode (OpenMode mode) |
virtual BatchModuleParameter::Type | type () const |
virtual void | info () const |
Public Member Functions inherited from hds::BatchModuleParameter | |
BatchModuleParameter () | |
BatchModuleParameter (const QVariant &value, const QString &comment) | |
virtual | ~BatchModuleParameter () |
const QString & | comment () const |
void | setComment (const QString &comment) |
Protected Attributes | |
OpenMode | m_open_mode |
Protected Attributes inherited from hds::BatchModuleParameter | |
QVariant | m_value |
QString | m_comment |
Additional Inherited Members | |
Static Public Member Functions inherited from hds::BatchModuleParameter | |
static QString | nameFromType (Type type) |
static Type | typeFromName (const QString &name) |
File parameter of the module.
The mode in which file to be opened.
hds::BatchModuleFileParameter::BatchModuleFileParameter | ( | OpenMode | mode = ReadWrite | ) |
Default constructor.
hds::BatchModuleFileParameter::BatchModuleFileParameter | ( | const QVariant & | value, |
const QString & | comment, | ||
OpenMode | mode = ReadWrite |
||
) |
Constructor with name of the file value and comment.
|
virtual |
Destructor.
|
virtual |
Make copy of the object.
Reimplemented from hds::BatchModuleParameter.
|
virtual |
Print parameter internal data.
Reimplemented from hds::BatchModuleParameter.
|
inline |
Get current file open mode.
|
inline |
Set file open mode.
|
virtual |
Set current file name.
Reimplemented from hds::BatchModuleParameter.
|
virtual |
Get type of the parameter (BatchModuleParameter::File).
Reimplemented from hds::BatchModuleParameter.
|
virtual |
Get current file name.
Reimplemented from hds::BatchModuleParameter.
|
protected |
< Current file open mode.