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

Method GetInstanceLabel

cpp/src/command_classes/CommandClass.cpp:226–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224//-----------------------------------------------------------------------------
225
226string CommandClass::GetInstanceLabel
227(
228 uint8 const _instance
229)
230{
231 if ( m_instanceLabel.count(_instance) )
232 {
233 return Localization::Get()->GetGlobalLabel(m_instanceLabel[_instance]);
234 }
235 return string();
236}
237
238//-----------------------------------------------------------------------------
239// <CommandClass::ReadXML>

Callers

nothing calls this directly

Calls 2

GetGlobalLabelMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected