CUBA
|
Classes | |
class | Arguments |
class | cmd_line |
class | cmd_runtime_error |
customized runtime_error class for command line class More... | |
class | Options |
class | Switch |
Enumerations | |
enum | alignment { LEFTJUST, RIGHTJUST, CENTERED } |
enum | opt_type { DEFAULT, PROB, SEQ, CON, OTHER } |
Functions | |
template<class T > | |
string | widthify (const T &x, const ushort &width, const alignment &c, const char &fill) |
bool | operator== (const Arguments &arg1, const Arguments &arg2) |
bool | operator< (const Arguments &arg1, const Arguments &arg2) |
bool | operator== (const Options &arg1, const Options &arg2) |
bool | operator< (const Options &arg1, const Options &arg2) |
bool | operator== (const Switch &arg1, const Switch &arg2) |
bool | operator< (const Switch &arg1, const Switch &arg2) |
cmd.cc
string cmd::widthify | ( | const T & | x, |
const ushort & | width, | ||
const alignment & | c, | ||
const char & | fill | ||
) |
x | |
width | |
c | |
fill |