|
std::ostream & | operator<< (std::ostream &out, const argelement &p) |
|
template<class type > |
int | readfromstring (char *str, type &t) |
| A template for reading a variable from a string. Returns 0 on success, -1 on failure. More...
|
|
int | readfromstring (char *str, char *&t) |
| A specialization of the above template for interpreting a string as a string (no processing is necessary). More...
|
|
int | readfromstring (char *str, const char *&t) |
| A specialization of the above template for interpreting a string as a const string (no processing is necessary). More...
|
|
int | readfromstring (char *str, bool &t) |
| A specialization of the above template for reading a bool type. More...
|
|
template<class type > |
void | arg (arguments &a, const char *name, type &value) |
| Adds a command line argument. The actual argument name consists of the dash and its name provided to the function. If name == 0, then the value of this argument is read directly from the command line without any preceding string. The value variable is filled in by the value read from the command line string using the operator >>. More...
|
|
template<class type > |
void | arg (arguments &a, const char *name, type &value, type defaultvalue) |
| Adds a command line argument with a default value. The name must be nonempty. If the name of the argument appears but its value is not specified, then the default value is used instead. More...
|
|
void | arg (arguments &a, const char *name, char *&value, const char *defaultvalue) |
| A specialization of the above for C-style strings. More...
|
|
template<class type > |
void | arg (arguments &a, const char *name, type *value, int &count, int size) |
| Adds a command line argument whose repeated occurrences fill in consecutive elements of the given array. The counter indicates the position in the array. The given size of the array will not be exceeded. More...
|
|
template<class type > |
void | arg (arguments &a, const char *name, type *value, int &count, int size, type defaultvalue) |
| A version of the above with a default value of the arguments. More...
|
|
template<class type > |
void | argoblig (arguments &arg, const char *name, type &value) |
| Defines an obligatory command line argument. If this argument does not appear, then an error is displayed and error code is returned by the analysis procedure. More...
|
|
template<class type > |
void | argoblig (arguments &arg, const char *name, type &value, type defaultvalue) |
| A version of the above with the default value provided. More...
|
|
void | argoblig (arguments &arg, const char *name, char *&value, const char *defaultvalue) |
| A version of the above for reading an array of argument values. More...
|
|
template<class type > |
void | argbreak (arguments &arg, const char *name, type &value) |
| Adds an argument whose appearence interrupts the analysis of the command line and makes the analyzing function return the value of 1. This is useful for arguments whose appearence should make the program ignore all the remaining arguments, e.g., to display help information. More...
|
|
template<class type > |
void | argbreak (arguments &arg, const char *name, type &value, type defaultvalue) |
| A version of the above with the default value provided. More...
|
|
void | argbreak (arguments &arg, const char *name, char *&value, const char *defaultvalue) |
| A version of the above for the C-style string. More...
|
|
void | argbreak (arguments &arg, const char *name) |
| A version of the above which ignores the value of the argument. More...
|
|
template<class type > |
void | argswitch (arguments &arg, const char *name, type &value, const type &defaultvalue) |
| Defines a command line argument which is a switch, that is, there is no value given for it in the command line. The appearence of this argument sets the predefined default value to the given variable. More...
|
|
void | argswitch (arguments &arg, const char *name, char *&value, const char *defaultvalue) |
| A version of the above for the C-style string. More...
|
|
void | argswitch (arguments &arg, const char *name) |
| Defines an ignored switch (no value is set when this argument appears). More...
|
|
void | arghelp (arguments &a) |
| Adds the typical arguments which should make the program display help information. If help is requested, the command line analysis is interrupted, and the procedure returns the value 1. More...
|
|
std::string | commandline (int argc, char *argv[]) |
| Returns the entire command line as a single string. More...
|
|
const char * | currenttime (void) |
| Retrieves the current time as a pointer to a C-style string. More...
|
|
std::istream & | operator>> (std::istream &ins, ConfigFileReader &d) |
|
std::ostream & | operator<< (std::ostream &outs, const ConfigFileReader &d) |
|
template<class Op2 , class Op1 > |
ComposedFunctor< Op2, Op1 > | operator* (const Op2 &op2, const Op1 &op1) |
|
template<class T1 > |
void | ignoreUnused (const T1 &) |
|
template<class T1 , class T2 > |
void | ignoreUnused (const T1 &, const T2 &) |
|
template<class T1 , class T2 , class T3 > |
void | ignoreUnused (const T1 &, const T2 &, const T3 &) |
|
template<class T1 , class T2 , class T3 , class T4 > |
void | ignoreUnused (const T1 &, const T2 &, const T3 &, const T4 &) |
|
template<class T1 , class T2 , class T3 , class T4 , class T5 > |
void | ignoreUnused (const T1 &, const T2 &, const T3 &, const T4 &, const T5 &) |
|
template<typename type > |
OutputStream & | operator<< (OutputStream &out, const type &object) |
| The operator << for writing any kind of object to the output stream. This object is written using the operator << of the standard stream. More...
|
|
OutputStream & | operator<< (OutputStream &out, const char *object) |
| A specialization of the operator << for writing a C-style string to the output stream. More...
|
|
OutputStream & | operator<< (OutputStream &out, std::ostream &(*object)(std::ostream &)) |
| A specialization of the operator << for putting manipulators (like std::endl, std::flush) to the output stream. More...
|
|
std::ostream & | operator<< (std::ostream &out, const ApplicationDesc &desc) |
|
std::ostream & | operator<< (std::ostream &out, arguments &p) |
|
std::ostream & | operator<< (std::ostream &out, const BuildInfo &buildInfo) |
|
double | currentcpu () |
|
std::ostream & | showseconds (std::ostream &out, double seconds, int precision) |
|
std::ostream & | operator<< (std::ostream &out, const timeused &t) |
|