Get user string or "" if not found */
| 18 | |
| 19 | /** Get user string or "" if not found */ |
| 20 | std::string_view UserData::getUserString(std::string_view _key) const |
| 21 | { |
| 22 | MapString::const_iterator iter = mMapUserString.find(_key); |
| 23 | if (iter != mMapUserString.end()) |
| 24 | return iter->second; |
| 25 | return {}; |
| 26 | } |
| 27 | |
| 28 | const MapString& UserData::getUserStrings() const |
| 29 | { |