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

Method GetValues

cpp/src/Scene.cpp:406–420  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Return all ValueIDs for the given scene. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

404// Return all ValueIDs for the given scene.
405//-----------------------------------------------------------------------------
406int Scene::GetValues
407(
408 vector<ValueID>* o_value
409)
410{
411 int size = (int) m_values.size();
412 if( size > 0 )
413 {
414 for( vector<SceneStorage*>::iterator it = m_values.begin(); it != m_values.end(); ++it )
415 {
416 o_value->push_back( (*it)->m_id );
417 }
418 }
419 return size;
420}
421
422//-----------------------------------------------------------------------------
423// <Scene::GetValue>

Callers 1

SceneGetValuesMethod · 0.80

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected