parsing and data representation of command-line arguments
#include <Arguments.h>
|
typedef std::vector< std::string >::const_iterator | ArgIt |
|
Arguments::Arguments |
( |
void |
| ) |
|
|
inline |
Arguments::Arguments |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
initialize this Arguments object with argc and argv
std::string Arguments::getPassphrase |
( |
bool |
doublecheck = false | ) |
|
void Arguments::parse |
( |
void |
| ) |
|
parse Argc and Argv filling the Arg* member variable for later access
bool Arguments::parse_Checksum |
( |
ArgIt & |
curarg | ) |
|
|
private |
void Arguments::parse_Command |
( |
ArgIt & |
curarg | ) |
|
|
private |
parse the command
Note: parse_Command is the only parse_* function that requires curarg to be a command. (because the command is the only argument with a fixed position).
bool Arguments::parse_Compression |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_CvrFn |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Debug |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_EmbedEmbFn |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_EmbFn |
( |
ArgIt & |
curarg | ) |
|
|
private |
test if curarg points to an emb filename argument and if yes: parse it
- Returns
- true iff one or more arguments have been parsed
bool Arguments::parse_Encryption |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_ExtFn |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Force |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Goal |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Passphrase |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Radius |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_StgFn |
( |
ArgIt & |
curarg | ) |
|
|
private |
bool Arguments::parse_Verbosity |
( |
ArgIt & |
curarg | ) |
|
|
private |
void Arguments::setDefaults |
( |
void |
| ) |
|
|
private |
bool Arguments::stdin_isused |
( |
void |
| ) |
const |
is standard input used ? - according to the given arguments
std::string Arguments::CommandString |
const bool Arguments::Default_Check = false |
|
staticprivate |
const bool Arguments::Default_Checksum = true |
|
staticprivate |
const int Arguments::Default_Compression = 9 |
|
staticprivate |
const unsigned int Arguments::Default_DebugLevel = 0 |
|
staticprivate |
const bool Arguments::Default_EmbedEmbFn = true |
|
staticprivate |
const bool Arguments::Default_Force = false |
|
staticprivate |
const unsigned int Arguments::Default_GmlGraphRecDepth = 0 |
|
staticprivate |
const unsigned int Arguments::Default_GmlStartVertex = 0 |
|
staticprivate |
float Arguments::Default_Goal = 100.0 |
|
staticprivate |
const unsigned long Arguments::Default_Radius = 0 |
|
staticprivate |
ArgUInt Arguments::GmlGraphRecDepth |
const unsigned int Arguments::Max_Algorithm = 3 |
|
staticprivate |
const int Arguments::NoCompression = 0 |
|
staticprivate |
std::vector<std::string> Arguments::TheArguments |
|
private |
The documentation for this class was generated from the following files: