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

Method GetValueHelp

cpp/src/Localization.cpp:642–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642string const Localization::GetValueHelp
643(
644 uint8 ccID,
645 uint16 indexId,
646 uint32 pos
647)
648{
649 uint64 key = GetValueKey(ccID, indexId, pos);
650 if (m_valueLocalizationMap.find(key) == m_valueLocalizationMap.end()) {
651 Log::Write( LogLevel_Warning, "Localization::GetValueHelp: No Help for CommandClass %xd, ValueID: %d (%d)", ccID, indexId, pos);
652 return "";
653 }
654 return m_valueLocalizationMap[key]->GetHelp(m_selectedLang);
655}
656
657string const Localization::GetValueLabel
658(

Callers

nothing calls this directly

Calls 4

WriteFunction · 0.85
findMethod · 0.80
endMethod · 0.45
GetHelpMethod · 0.45

Tested by

no test coverage detected