CUBA
cmd Namespace Reference

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)
 

Detailed Description

cmd.cc

Date
: Nov 18, 2014
Author
: TODO

Function Documentation

◆ widthify()

template<class T >
string cmd::widthify ( const T &  x,
const ushort &  width,
const alignment &  c,
const char &  fill 
)
Parameters
x
width
c
fill
Returns