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

Method getInt

src/core/commandlineParser.cpp:102–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102int cCommandlineParser::getInt(const char *name) const
103{
104 const sCmdlineOpt *opt = findOpt(name);
105 if (opt == NULL) {
106 COMP_ERR("int commandline argument '%s' not found!", name);
107 }
108 if (opt->type != eCmdlineOptType::Int) {
109 COMP_ERR("requested commandline argument '%s' is not of type int!", name);
110 }
111 return opt->getInt();
112}
113
114double cCommandlineParser::getDouble(const char *name) const
115{

Callers 4

copyFromMethod · 0.45
showUsageMethod · 0.45
createInstancesMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected