| 182 | } |
| 183 | |
| 184 | bool getId(string name, USHORT& id) |
| 185 | { |
| 186 | USHORT index; |
| 187 | name.upper(); |
| 188 | |
| 189 | if (nameIdMap.get(name, index)) |
| 190 | { |
| 191 | id = MAX_USHORT - index; |
| 192 | return true; |
| 193 | } |
| 194 | else |
| 195 | return false; |
| 196 | } |
| 197 | |
| 198 | private: |
| 199 | bool initFromFile() |
no test coverage detected