Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Types | Public Member Functions | List of all members
smlt::ArgParser Class Reference

Public Types

typedef std::multimap< std::string, anyArgs

Public Member Functions

void define_arg (const std::string &name, ArgType type, const std::string &help="", const std::string &var_name="", ArgCount count=ARG_COUNT_ONE)
template<typename T >
optional< T > arg_value (const std::string &name)
template<typename T >
std::vector< T > arg_value_list (const std::string &name)
template<typename T >
optional< T > arg_value (const std::string &name, T def)
const Args & parsed_args () const
void print_help () const
bool parse_args (int argc, char *argv[])

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