libutil++  1.9.3
 All Classes Functions Variables
Public Member Functions | Protected Member Functions | List of all members
sella::util::CommandLine Class Reference

Public Member Functions

 CommandLine (int argc, char **argv) throw ()
 
 CommandLine (const CommandLine &copy) throw ()
 
CommandLineoperator= (const CommandLine &other) throw ()
 
void add (char opt, const std::string &option, const std::string &usage, const std::string &label="", const std::string &value="") throw ()
 
void add (char opt, const std::string &option, const std::string &usage, const std::string &label, long value, long min=MINLONG, long max=MINLONG) throw ()
 
void add (const CommandLineOption &option=CommandLineOption()) throw ()
 
void add (const std::string &argument, const std::string &usage) throw ()
 
std::map< std::string,
std::string > 
parse (FILE *stream) const throw ()
 
void usage (FILE *stream, int result=0) const throw ()
 

Protected Member Functions

struct option build (char tag, const std::string &name, bool argument) const throw ()
 
const std::string tag (char tag, bool argument) const throw ()
 

Detailed Description

Definition at line 31 of file CommandLine.h.


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