MCPcopy Create free account
hub / github.com/audeering/opensmile / getDouble

Method getDouble

src/core/commandlineParser.cpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114double cCommandlineParser::getDouble(const char *name) const
115{
116 const sCmdlineOpt *opt = findOpt(name);
117 if (opt == NULL) {
118 COMP_ERR("double commandline argument '%s' not found!", name);
119 }
120 if (opt->type != eCmdlineOptType::Double) {
121 COMP_ERR("requested commandline argument '%s' is not of type double!", name);
122 }
123 return opt->getDouble();
124}
125
126const char * cCommandlineParser::getStr(const char *name) const
127{

Callers 3

copyFromMethod · 0.45
getInstanceMethod · 0.45
showUsageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected