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

Method GetValueItemHelp

cpp/src/Localization.cpp:709–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709string const Localization::GetValueItemHelp
710(
711 uint8 ccID,
712 uint16 indexId,
713 int32 pos,
714 int32 itemIndex
715) const
716{
717 uint64 key = GetValueKey(ccID, indexId, pos);
718 if (m_valueLocalizationMap.find(key) == m_valueLocalizationMap.end()) {
719 Log::Write( LogLevel_Warning, "Localization::GetValueItemHelp: No ValueLocalizationMap for CommandClass %xd, ValueID: %d (%d) ItemIndex %d", ccID, indexId, pos, itemIndex);
720 return "";
721 }
722 return m_valueLocalizationMap[key]->GetItemHelp(m_selectedLang, itemIndex);
723}
724
725bool Localization::SetValueItemHelp
726(

Callers 2

WriteXMLMethod · 0.80
GetBitHelpMethod · 0.80

Calls 4

WriteFunction · 0.85
findMethod · 0.80
GetItemHelpMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected