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

Method AddSceneValueListSelection

cpp/src/Manager.cpp:4736–4749  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Add a list selection item ValueID/value pair to the scene (as string) -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4734// Add a list selection item ValueID/value pair to the scene (as string)
4735//-----------------------------------------------------------------------------
4736bool Manager::AddSceneValueListSelection
4737(
4738 uint8 const _sceneId,
4739 ValueID const& _valueId,
4740 string const& _value
4741)
4742{
4743 Scene *scene = Scene::Get( _sceneId );
4744 if( scene != NULL )
4745 {
4746 return scene->AddValue( _valueId, _value );
4747 }
4748 return false;
4749}
4750
4751//-----------------------------------------------------------------------------
4752// <Manager::AddSceneValueListSelection>

Callers

nothing calls this directly

Calls 2

GetFunction · 0.70
AddValueMethod · 0.45

Tested by

no test coverage detected