| 77 | } |
| 78 | |
| 79 | std::map<int, std::string> getMeaningMap() const |
| 80 | { |
| 81 | std::map<int, std::string> m; |
| 82 | for (const auto &entry : this->entryVector) |
| 83 | { |
| 84 | if (entry.meaning.empty()) |
| 85 | m[int(entry.code)] = entry.name; |
| 86 | else |
| 87 | m[int(entry.code)] = entry.meaning; |
| 88 | } |
| 89 | return m; |
| 90 | } |
| 91 | |
| 92 | std::string getMeaning(T value) const |
| 93 | { |