ug4
parameter_parsing.h File Reference
#include "common/ug_config.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

bool ug::FindParam (const char *param, int argc, const char *const *argv)
 
int ug::GetParamIndex (const char *param, int argc, const char *const *argv)
 
double ug::ParamToDouble (const char *param, int argc, const char *const *argv, double dDefault)
 
bool ug::ParamToDouble (double &dOut, const char *param, int argc, const char *const *argv)
 
int ug::ParamToInt (const char *param, int argc, const char *const *argv, int iDefault)
 
bool ug::ParamToInt (int &iOut, const char *param, int argc, const char *const *argv)
 
bool ug::ParamToString (const char **strOut, const char *param, int argc, const char *const *argv)