#include <programinformation.h>
Public Member Functions | |
ProgramInformation () | |
~ProgramInformation () | |
void | setProgramName (QString name) |
void | setHelp (QString help) |
void | setParameterInformation (QMap< int, QValueList< QString > > ¶meters) |
QString | getProgramName () const |
QString | getHelp () const |
QMap< int, QValueList< QString > > | getParameterInformation () |
ProgramInformation::ProgramInformation | ( | ) | [inline] |
Constructor.
ProgramInformation::~ProgramInformation | ( | ) | [inline] |
Destructor.
void ProgramInformation::setProgramName | ( | QString | name | ) | [inline] |
Sets the name of the program.
name | name of the program. |
void ProgramInformation::setHelp | ( | QString | help | ) | [inline] |
Sets the help available on the program.
help | help about the program. |
void ProgramInformation::setParameterInformation | ( | QMap< int, QValueList< QString > > & | parameters | ) | [inline] |
Initializes the parameter table.
parameters | map containing the list of parameters. Each entry is a list containing the name of the parameter its status (optional, mandatory or dynamic) and its value if any. |
QString ProgramInformation::getProgramName | ( | ) | const [inline] |
Gets the name of the program.
QString ProgramInformation::getHelp | ( | ) | const [inline] |
Gets the help about the program.
QMap<int, QValueList<QString> > ProgramInformation::getParameterInformation | ( | ) | [inline] |
Returns the information for each parameter.