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

Method missingFrom

src/core/configManager.cpp:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112int ConfigValueObj::missingFrom(const ConfigValue *val)
113{
114 if (val==NULL) return 0;
115 if (val->getType() != getType()) CONF_MANAGER_ERR("ConfigValue::copyFrom, cannot copy from incompatible type (%i)!",val->getType());
116 if (obj != NULL) {
117 return obj->missingFrom(val->getObj());
118 } else {
119 //obj = val->getObj(); freeObj=0; // TODO: nicer copy mechanism... e.g. copy constructor...?
120 CONF_MANAGER_ERR("ConfigValueObj::missingFrom: ConfigInstance copy not yet supported!");
121 }
122}
123
124int ConfigValueObj::updateWith(const ConfigValue *val)
125{

Callers 1

updateInstanceMethod · 0.45

Calls 4

getTypeMethod · 0.45
getObjMethod · 0.45
getNMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected