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

Method AddItemHelp

cpp/src/Localization.cpp:235–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void ValueLocalizationEntry::AddItemHelp
236(
237 string label,
238 int32 itemindex,
239 string lang
240)
241{
242
243 if (lang.empty()) {
244 m_DefaultItemHelpText[itemindex] = label;
245 } else {
246 m_ItemHelpText[lang][itemindex] = label;
247 }
248
249}
250string ValueLocalizationEntry::GetItemHelp
251(
252 string lang,

Callers 1

SetValueItemHelpMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected