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

Method GetItemValues

cpp/src/value_classes/ValueList.cpp:391–407  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Fill a vector with the item values -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

389// Fill a vector with the item values
390//-----------------------------------------------------------------------------
391bool ValueList::GetItemValues
392(
393 vector<int32>* o_values
394)
395{
396 if( o_values )
397 {
398 for( vector<Item>::iterator it = m_items.begin(); it != m_items.end(); ++it )
399 {
400 o_values->push_back( (*it).m_value );
401 }
402
403 return true;
404 }
405
406 return false;
407}
408
409//-----------------------------------------------------------------------------
410// <ValueList::GetItem>

Callers 1

GetValueListValuesMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected