CUBA
cmd::Switch Class Reference
Inheritance diagram for cmd::Switch:
cmd::Arguments

Public Member Functions

 Switch (const short &type, const string &short_name, const string &long_name, const string &meaning)
 
 Switch (const short &type=0, const string &long_name="")
 
bool is_value () const
 
void set_value (bool value)
 
- Public Member Functions inherited from cmd::Arguments
 Arguments (const short &type, const string &short_name, const string &long_name, const string &meaning)
 
const short & get_type () const
 
const string & get_long_name () const
 
const string & get_meaning () const
 
const string & get_short_name () const
 

Additional Inherited Members

- Protected Attributes inherited from cmd::Arguments
const short type
 
const string short_name
 
const string long_name
 the argument's long name
 
const string meaning
 the argument's short name
 

The documentation for this class was generated from the following file: