![]() |
Murl Engine API
Version 2025.1
|
The floating point parameter class. More...
#include <murl_util_environment.h>
The floating point parameter class.
Public Member Functions | |
| DoubleParameter (ParameterType type, const String &longId, const String &shortId, const String &description, Double defaultValue=0) | |
| The constructor taking an optional default value,. More... | |
| SInt32 | Process (SInt32 currentIndex, SInt32 argC, const char **argV) override |
| Overload of Parameter::Process() converting the mValue. More... | |
Public Member Functions inherited from Murl::Util::Environment::Parameter | |
| Parameter (ParameterType type, const String &longId, const String &shortId, const String &description, SInt32 skip, Bool isArray) | |
| The constructor. More... | |
| virtual | ~Parameter () |
| The destructor. | |
Public Attributes | |
| Double | mValue |
| The processed argument value. | |
Public Attributes inherited from Murl::Util::Environment::Parameter | |
| ParameterType | mType |
| The parameter type. | |
| String | mLongId |
| The long parameter identifier string. | |
| String | mShortId |
| The short parameter identifier string. | |
| String | mDescription |
| The parameter description string. | |
| Bool | mIsSet |
| Flag if the parameter is set. | |
| SInt32 | mSkip |
| The number of arguments used by the parameter. | |
| Bool | mIsArray |
| Signature for parameter arrays. | |
Additional Inherited Members | |
Public Types inherited from Murl::Util::Environment::Parameter | |
| using | AutoPtr = AutoPointer< Parameter > |
| Definition of the parameter auto pointer. | |
| Murl::Util::Environment::DoubleParameter::DoubleParameter | ( | ParameterType | type, |
| const String & | longId, | ||
| const String & | shortId, | ||
| const String & | description, | ||
| Double | defaultValue = 0 |
||
| ) |
The constructor taking an optional default value,.
| type | The type of the parameter. |
| longId | The long parameter identifier string. |
| shortId | The short parameter identifier string. |
| description | The parameter description string. |
| defaultValue | The default value. |
|
overridevirtual |
Overload of Parameter::Process() converting the mValue.
| currentIndex | The zero-based index to the current argument. |
| argC | The number of arguments. |
| argV | The argument string values. |
Reimplemented from Murl::Util::Environment::Parameter.