#include <QgarArgs.H>
Inner class of class qgar::QgarArgs
Definition at line 305 of file QgarArgs.H.
Public Member Functions | |
Constructors | |
| QgarParam (const char *aParamName, QGEparamStatus aParamStatus, QGEparamType aParamType, const char *aDescription, const char *anExtension=0, const char *aDefault=0) | |
| Construct from full data. | |
Access | |
| QGEparamStatus | paramStatus () const |
| Get the parameter status. | |
| bool | useFlag () const |
| Get flag for use. | |
| const char * | name () const |
| Get parameter name. | |
| const char * | value (bool aSpecial) |
| Get parameter value. | |
| int | numbOptions () const |
| Get parameter number. | |
| const char * | argument (int anIdx) |
| Get indexed argument. | |
| const char * | description () const |
| Get parameter description. | |
| bool | newValue () const |
| Get new value. | |
Transformation | |
| void | setUseFlag (bool aBool=true) |
| Set flag for use (default true). | |
| void | setValue (char *aVal) |
| Set parameter value. | |
| void | setNewValue (char *aVal) |
| Set new value. | |
| void | addArgument (char *anArg) |
| Add an argument to the argument list. | |
Display | |
| void | printGUI (bool anEndl) const |
| Display information about the parameter on standard output. | |
| void | showUsage () const |
| Display usage message on standard output. | |
Protected Attributes | |
Parameter features | |
| const char * | _name |
| Parameter name. | |
| const char * | _description |
| Parameter description. | |
| bool | _useFlag |
| Flag... | |
| QGEparamStatus | _paramStatus |
| Parameter status. | |
| QGEparamType | _paramType |
| Parameter type. | |
| const char * | _extension |
| File extension. | |
Parameter values | |
| const char * | _default |
| Parameter default value. | |
| char * | _value |
| Parameter value. | |
| bool | _newValue |
| Parameter new value. | |
| std::vector< char * > | _args |
| Parameter arguments. | |
|
||||||||||||||||||||||||||||
|
Construct from full data.
Definition at line 76 of file QgarArgs.C. |
|
|
Add an argument to the argument list.
Definition at line 874 of file QgarArgs.H. References _args. Referenced by qgar::QgarArgs::analyzeLine(). |
|
|
Get indexed argument.
Definition at line 814 of file QgarArgs.H. References _args. Referenced by qgar::QgarArgs::getStringOptionMulti(). |
|
|
Get parameter description.
Definition at line 823 of file QgarArgs.H. References _description. |
|
|
Get parameter name.
Definition at line 796 of file QgarArgs.H. References _name. |
|
|
Get new value.
Definition at line 832 of file QgarArgs.H. References _newValue. Referenced by qgar::QgarApp::newValue(). |
|
|
Get parameter number.
Definition at line 805 of file QgarArgs.H. References _args. Referenced by qgar::QgarArgs::getNumberOptions(), and qgar::QgarArgs::getStringOptionMulti(). |
|
|
Get the parameter status.
Definition at line 778 of file QgarArgs.H. References _paramStatus. Referenced by qgar::QgarArgs::analyzeLine(), qgar::QgarArgs::getNumberOptions(), qgar::QgarArgs::getStringOption(), qgar::QgarArgs::getStringOptionMulti(), and qgar::QgarArgs::isOptionSet(). |
|
|
Display information about the parameter on standard output.
Definition at line 123 of file QgarArgs.C. References _default, _description, _extension, _name, _paramStatus, _paramType, qgar::QgarArgs::BOOL, qgar::QgarArgs::FILEIN, qgar::QgarArgs::FILEOUT, qgar::QgarArgs::FILEOUTD, qgar::QgarArgs::FILEOUTDS, qgar::QgarArgs::FLOAT, qgar::QgarArgs::INT, qgar::QgarArgs::PATH, qgar::QgarArgs::REQMULTIPARAM, qgar::QgarArgs::REQPARAM, and qgar::QgarArgs::STRING. Referenced by qgar::QgarApp::showDialog(). |
|
|
Set new value.
Definition at line 864 of file QgarArgs.H. References _newValue, and setValue(). Referenced by qgar::QgarArgs::setParamValue(). |
|
|
Set flag for use (default true).
Definition at line 846 of file QgarArgs.H. References _useFlag. Referenced by qgar::QgarArgs::analyzeLine(). |
|
|
Set parameter value.
Definition at line 855 of file QgarArgs.H. References _value. Referenced by qgar::QgarArgs::analyzeLine(), and setNewValue(). |
|
|
Display usage message on standard output.
Definition at line 204 of file QgarArgs.C. References _description, _name, _paramStatus, _paramType, qgar::QgarArgs::BOOL, qgar::QgarArgs::FILEIN, qgar::QgarArgs::FILEOUT, qgar::QgarArgs::FILEOUTD, qgar::QgarArgs::FILEOUTDS, qgar::QgarArgs::FLOAT, qgar::QgarArgs::INT, qgar::QgarArgs::PATH, qgar::QgarArgs::REQMULTIPARAM, qgar::QgarArgs::REQPARAM, and qgar::QgarArgs::STRING. |
|
|
Get flag for use.
Definition at line 787 of file QgarArgs.H. References _useFlag. Referenced by qgar::QgarArgs::isOptionSet(). |
|
|
Get parameter value.
Definition at line 104 of file QgarArgs.C. References _newValue, and _value. Referenced by qgar::QgarArgs::getStringOption(). |
|
|
Parameter arguments.
Definition at line 505 of file QgarArgs.H. Referenced by addArgument(), argument(), and numbOptions(). |
|
|
Parameter default value.
Definition at line 490 of file QgarArgs.H. Referenced by printGUI(). |
|
|
Parameter description.
Definition at line 458 of file QgarArgs.H. Referenced by description(), printGUI(), and showUsage(). |
|
|
File extension.
Definition at line 478 of file QgarArgs.H. Referenced by printGUI(). |
|
|
Parameter name.
Definition at line 453 of file QgarArgs.H. Referenced by name(), printGUI(), and showUsage(). |
|
|
Parameter new value.
Definition at line 500 of file QgarArgs.H. Referenced by newValue(), setNewValue(), and value(). |
|
|
Parameter status.
Definition at line 468 of file QgarArgs.H. Referenced by paramStatus(), printGUI(), and showUsage(). |
|
|
Parameter type.
Definition at line 473 of file QgarArgs.H. Referenced by printGUI(), and showUsage(). |
|
|
Flag...
Definition at line 463 of file QgarArgs.H. Referenced by setUseFlag(), and useFlag(). |
|
|
Parameter value.
Definition at line 495 of file QgarArgs.H. Referenced by setValue(), and value(). |