34 static *
string getString(*hash<auto> opts,
string key, *
bool required, *
string default_value);
37 static *
bool getBool(*hash<auto> opts,
string key, *
bool required, *
bool default_value);
40 static *
int getInt(*hash<auto> opts,
string key, *
bool required, *
int default_value);
43 static *hash<auto>
getHash(*hash<auto> opts,
string key, *
bool required, *hash<auto> default_value);
46 static auto getOptionType(*hash<auto> opts,
string key,
int type_code,
string type_name, *
bool required,
auto default_value);
Class with helper methods to options in a hash.
Definition OptionHelper.qc.dox.h:30
static *string getString(*hash< auto > opts, string key, *bool required, *string default_value)
Returns a string value from a hash.
static *bool getBool(*hash< auto > opts, string key, *bool required, *bool default_value)
Returns a boolean value from a hash.
static *int getInt(*hash< auto > opts, string key, *bool required, *int default_value)
Gets an integer option.
static *hash< auto > getHash(*hash< auto > opts, string key, *bool required, *hash< auto > default_value)
Returns a hash value from a hash.
static auto getOptionType(*hash< auto > opts, string key, int type_code, string type_name, *bool required, auto default_value)
gets an option value of the given type
The ConnectionProvider namespace.
Definition AbstractConnection.qc.dox.h:28