Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Member Functions
optparse::OptionParser Class Reference
+ Inheritance diagram for optparse::OptionParser:

Public Member Functions

OptionParserusage (const std::string &u)
 
OptionParserversion (const std::string &v)
 
OptionParserdescription (const std::string &d)
 
OptionParseradd_help_option (bool h)
 
OptionParseradd_version_option (bool v)
 
OptionParserprog (const std::string &p)
 
OptionParserepilog (const std::string &e)
 
OptionParserset_defaults (const std::string &dest, const std::string &val)
 
OptionParserenable_interspersed_args ()
 
OptionParserdisable_interspersed_args ()
 
OptionParseradd_option_group (const OptionGroup &group)
 
const std::string & usage () const
 
const std::string & version () const
 
const std::string & description () const
 
bool add_help_option () const
 
bool add_version_option () const
 
const std::string & prog () const
 
const std::string & epilog () const
 
bool interspersed_args () const
 
Optionadd_option (const std::string &opt)
 
Optionadd_option (const std::string &opt1, const std::string &opt2)
 
Optionadd_option (const std::string &opt1, const std::string &opt2, const std::string &opt3)
 
Optionadd_option (const std::vector< std::string > &opt)
 
Valuesparse_args (int argc, char const *const *argv)
 
Valuesparse_args (const std::vector< std::string > &args)
 
template<typename InputIterator >
Valuesparse_args (InputIterator begin, InputIterator end)
 
const std::list< std::string > & args () const
 
std::vector< std::string > args ()
 
std::string format_help () const
 
std::string format_option_help (unsigned int indent=2) const
 
void print_help () const
 
void set_usage (const std::string &u)
 
std::string get_usage () const
 
void print_usage (std::ostream &out) const
 
void print_usage () const
 
std::string get_version () const
 
void print_version (std::ostream &out) const
 
void print_version () const
 
void error (const std::string &msg) const
 
void exit () const
 

Detailed Description

Definition at line 129 of file OptionParser.h.


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