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

Method name

src/core/dataMemoryLevel.cpp:406–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406std::string cVector::name(int n, int *lN) const
407{
408 if ((fmeta!=NULL)&&(fmeta->field!=NULL)) {
409 int llN=-1;
410 const char *t = fmeta->getName(n,&llN);
411 if (lN!=NULL) *lN = llN;
412 if (llN>=0) {
413 char *ntmp=myvprint("%s[%i]",t,llN);
414 std::string n = ntmp;
415 free(ntmp);
416 return n;
417 } else {
418 return t;
419 }
420 }
421 return std::string();
422}
423
424void cVector::setTimeMeta(TimeMetaInfo *xtmeta) {
425 if ((tmeta != NULL)&&(!tmetaAlien)) {

Callers 2

myTickMethod · 0.45
myTickMethod · 0.45

Calls 2

myvprintFunction · 0.70
getNameMethod · 0.45

Tested by

no test coverage detected