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

Method getStr

src/core/commandlineParser.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126const char * cCommandlineParser::getStr(const char *name) const
127{
128 const sCmdlineOpt *opt = findOpt(name);
129 if (opt == NULL) {
130 COMP_ERR("string commandline argument '%s' not found!", name);
131 }
132 if (opt->type != eCmdlineOptType::Str) {
133 COMP_ERR("requested commandline argument '%s' is not of type string!", name);
134 }
135 return opt->getStr();
136}
137
138bool cCommandlineParser::isSet(const char *name) const
139{

Callers 5

copyFromMethod · 0.45
openInputMethod · 0.45
getInstanceMethod · 0.45
showUsageMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected