MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetItemLabels

Method GetItemLabels

cpp/src/value_classes/ValueList.cpp:369–385  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Fill a vector with the item labels -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

367// Fill a vector with the item labels
368//-----------------------------------------------------------------------------
369bool ValueList::GetItemLabels
370(
371 vector<string>* o_items
372)
373{
374 if( o_items )
375 {
376 for( vector<Item>::iterator it = m_items.begin(); it != m_items.end(); ++it )
377 {
378 o_items->push_back( (*it).m_label );
379 }
380
381 return true;
382 }
383
384 return false;
385}
386
387//-----------------------------------------------------------------------------
388// <ValueList::GetItemValues>

Callers 1

GetValueListItemsMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected