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

Method GetGroupLabel

cpp/src/Node.cpp:3051–3063  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Gets the label for a particular group -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3049// Gets the label for a particular group
3050//-----------------------------------------------------------------------------
3051string Node::GetGroupLabel
3052(
3053 uint8 const _groupIdx
3054)
3055{
3056 string label = "";
3057 if( Group* group = GetGroup( _groupIdx ) )
3058 {
3059 label = group->GetLabel();
3060 }
3061
3062 return label;
3063}
3064
3065//-----------------------------------------------------------------------------
3066// <Node::AddAssociation>

Callers 1

SendNextDataMethod · 0.45

Calls 1

GetLabelMethod · 0.45

Tested by

no test coverage detected