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

Method getArrayKeys

src/core/configManager.cpp:2936–2949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2934}
2935
2936char ** cConfigManager::getArrayKeys(const char *_name, int *N) const
2937{
2938 const ConfigValue *v = getValue(_name);
2939 if (v!=NULL) {
2940 if (v->getType() >= CFTP_ARR) {
2941 if (N!=NULL) *N = v->getSize();
2942 return v->getAAkeys();
2943 } else {
2944 CONF_MANAGER_ERR("cannot get names (and size) of array field '%s', this field is not an array (type=%i)",_name,v->getType());
2945 }
2946 }
2947 if (N!=NULL) *N=0;
2948 return NULL;
2949}
2950
2951void cConfigManager::printTypeHelp(int _subtype, const char *selection, int dfltConf)
2952{

Callers 1

createInstancesMethod · 0.45

Calls 3

getTypeMethod · 0.45
getSizeMethod · 0.45
getAAkeysMethod · 0.45

Tested by

no test coverage detected