| 61 | : entryVector(entryVector), unknown(unknown){}; |
| 62 | |
| 63 | T getValue(unsigned code) const |
| 64 | { |
| 65 | for (const auto &entry : this->entryVector) |
| 66 | if (entry.code == code) |
| 67 | return entry.value; |
| 68 | return this->unknown; |
| 69 | } |
| 70 | |
| 71 | unsigned getCode(T value) const |
| 72 | { |
no outgoing calls
no test coverage detected