pfcrender  1.0.1
Common::CLIParser Class Reference

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
 

Detailed Description

The CLIParser class This class gathers commandline options from all plugins and executes on the This happens during construction of CLIParser.

Constructor & Destructor Documentation

Common::CLIParser::CLIParser ( )

Member Function Documentation

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.

Member Data Documentation

QHash<QString, QCommandLineOption> Common::CLIParser::m_optlist
private

Referenced by addOption(), and getOptlist().

QCommandLineParser Common::CLIParser::m_parser
private

Referenced by addOption(), getParser(), and parse().


The documentation for this class was generated from the following files: