|
Torc
0.1
|
Simple wrapper around a command line argument. More...
#include <torccommandline.h>
Public Member Functions | |
| TorcArgument () | |
| TorcArgument (const QVariant &Default, const QString &HelpText, TorcCommandLine::Options Flags, bool Exit) | |
Public Attributes | |
| QVariant | m_value |
| QString | m_helpText |
| bool | m_exitImmediately |
| TorcCommandLine::Options | m_flags |
Simple wrapper around a command line argument.
The QVariant described by m_value indicates the type accepted by the argument. An invalid QVariant indicates that the argument is an option only (e.g. –help) and requires no value. When a value is detected in the command line, m_value is updated accordingly for later retrieval, or is set to true for options to indicate the option was detected.
Definition at line 57 of file torccommandline.h.
| TorcArgument::TorcArgument | ( | ) |
Definition at line 68 of file torccommandline.cpp.
| TorcArgument::TorcArgument | ( | const QVariant & | Default, |
| const QString & | HelpText, | ||
| TorcCommandLine::Options | Flags, | ||
| bool | Exit | ||
| ) |
Definition at line 76 of file torccommandline.cpp.
| bool TorcArgument::m_exitImmediately |
Definition at line 65 of file torccommandline.h.
| TorcCommandLine::Options TorcArgument::m_flags |
Definition at line 66 of file torccommandline.h.
| QString TorcArgument::m_helpText |
Definition at line 64 of file torccommandline.h.
| QVariant TorcArgument::m_value |
Definition at line 63 of file torccommandline.h.
1.8.11