Vocatra Information class This class provides information and help methods about Vocatra. More...
#include <vocatrainfo.H>
Static Public Member Functions | |
static void | PrintUsage (const bool &bPrintHelp=true) |
Print Usage function. | |
static void | PrintHelp () |
Print Help function. | |
static void | PrintVersion () |
Print Version function. | |
static const char * | GetName () |
Get Name function. | |
static const char * | GetOrderMode () |
Get Order Mode function. | |
static const char * | GetRandomMode () |
Get Random Mode function. | |
static const char * | GetAlphabeticalMode () |
Get Alphabetical Mode function This function returns the string from the alphabetical mode. | |
static const char * | GetLeftLang () |
Get Left Language function. | |
static const char * | GetRightLang () |
Get Right Language function. |
Static Private Member Functions | |
static std::string | breakString (const std::string &str, const bool &bIndent=false) |
Static helper function. |
Vocatra Information class This class provides information and help methods about Vocatra.
|
staticprivate |
Static helper function.
This function breaks a string into lines with the length of <= 70 characters.
str | this string will be broken into lines |
bIndent | If true, indent new lines with 49 spaces. (needed to create man page) |
|
static |
Get Alphabetical Mode function This function returns the string from the alphabetical mode.
Default: alphabetical
Referenced by CVocOptions::Parse().
|
static |
Get Left Language function.
This function returns the string from the left language. Default: left
Referenced by CVocOptions::Parse().
|
static |
Get Name function.
This function returns the package name. Default: vocatra
Referenced by CVocFile::AppendVocabulary(), CVocTrainer::Init(), CVocOptions::Parse(), and CVocAdmin::printBits().
|
static |
Get Order Mode function.
This function returns the string from the order mode. Default: order
Referenced by CVocOptions::Parse().
|
static |
Get Random Mode function.
This function returns the string from the random mode. Default: random
Referenced by CVocOptions::Parse().
|
static |
Get Right Language function.
This function returns the string from the right language. Default: right
Referenced by CVocOptions::Parse().
|
static |
Print Help function.
This function prints the help to the stdout.
Referenced by CVocOptions::Parse().
|
static |
Print Usage function.
This function prints the usage string to the stdout.
bPrintHelp | prints "try vocatra –help ..."-string if true |
Referenced by CVocOptions::Parse().
|
static |
Print Version function.
This function prints the version number to the stdout.
Referenced by CVocOptions::Parse().
Generated for Vocatra by |