MCPcopy Create free account
hub / github.com/creatale/node-dv / cvAttrValue

Function cvAttrValue

deps/opencv/modules/core/src/persistence.cpp:380–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380CV_IMPL const char*
381cvAttrValue( const CvAttrList* attr, const char* attr_name )
382{
383 while( attr && attr->attr )
384 {
385 int i;
386 for( i = 0; attr->attr[i*2] != 0; i++ )
387 {
388 if( strcmp( attr_name, attr->attr[i*2] ) == 0 )
389 return attr->attr[i*2+1];
390 }
391 attr = attr->next;
392 }
393
394 return 0;
395}
396
397
398static CvGenericHash*

Callers 4

icvXMLParseValueFunction · 0.85
icvWriteHeaderDataFunction · 0.85
icvGetFormatFunction · 0.85
icvWriteSeqTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected