carb::extras::EnvironmentVariableParser
Defined in carb/extras/EnvironmentVariableParser.h
-
class EnvironmentVariableParser
Parses environment variables into program options or environment variables.
Public Types
Public Functions
-
inline EnvironmentVariableParser(const char *prefix)
Construct an environment parser looking for variables starting with
prefix
.
-
inline void parse()
Parse the environment.
Variables starting with prefix given to constructor are separated into program options, whereas all others are parsed as normal environment variables
-
inline EnvironmentVariableParser(const char *prefix)