RefType Class Reference


Detailed Description

This is the type of the return value of ArgParser::operator[](). It automatically converts to int, double, bool or std::string, if it match the type of the option, otherwise it throws an exception. (i.e. it performs runtime type checking). #include <lemon/arg_parser.h>

List of all members.

Public Member Functions

 RefType (ArgParser &p, const std::string &n)
 
 operator bool ()
 
 operator std::string ()
 
 operator double ()
 
 operator int ()
 


Generated on Thu Jun 4 04:03:17 2009 for LEMON by  doxygen 1.5.9