![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
Represents an argument the program expects on the command line. More...
#include <CommandLineArgument.h>
Public Member Functions | |
CommandLineArgument () | |
Constructor, sets the members to default values. | |
CommandLineArgument (string mFlag, int mNumberOfArguments) | |
Constructor, sets the members to the values sent. | |
Public Attributes | |
string | flag |
The flag (without the -) which should be expected. | |
int | numberOfArguments |
The number of arguments to be expected. |
Represents an argument the program expects on the command line.
Sent to the CommandLineInterpreter, this class will throw a CommandLineException if it encounters a flag it does not recognize.
Definition at line 25 of file CommandLineArgument.h.
CommandLineArgument::CommandLineArgument | ( | string | mFlag, |
int | mNumberOfArguments | ||
) |
Constructor, sets the members to the values sent.
mFlag | flag = mFlag |
mNumberOfArguments | numberOfArguments = mNumberOfArguments |
Definition at line 8 of file CommandLineArgument.cpp.
References flag, and numberOfArguments.
{ flag=mFlag; numberOfArguments = mNumberOfArguments; }