pfcrender
1.0.1
|
The CLIParser class This class gathers commandline options from all plugins and executes on the This happens during construction of CLIParser. More...
#include <CLIParser.h>
Public Member Functions | |
CLIParser () | |
void | addOption (const QString &optName, const QCommandLineOption &option) |
void | addOption (const QPair< QString, QCommandLineOption > &) |
void | parse () |
const QCommandLineParser & | getParser () const |
const QHash< QString, QCommandLineOption > & | getOptlist () const |
Private Attributes | |
QCommandLineParser | m_parser |
QHash< QString, QCommandLineOption > | m_optlist |
The CLIParser class This class gathers commandline options from all plugins and executes on the This happens during construction of CLIParser.
Common::CLIParser::CLIParser | ( | ) |
void Common::CLIParser::addOption | ( | const QString & | optName, |
const QCommandLineOption & | option | ||
) |
References m_optlist, and m_parser.
Referenced by addOption().
void Common::CLIParser::addOption | ( | const QPair< QString, QCommandLineOption > & | p | ) |
References addOption().
const QHash< QString, QCommandLineOption > & Common::CLIParser::getOptlist | ( | ) | const |
References m_optlist.
const QCommandLineParser & Common::CLIParser::getParser | ( | ) | const |
References m_parser.
void Common::CLIParser::parse | ( | ) |
References m_parser.
|
private |
Referenced by addOption(), and getOptlist().
|
private |
Referenced by addOption(), getParser(), and parse().