| 203 | } |
| 204 | |
| 205 | UInt MetaInfoRegistry::getIndex(const String& name) const |
| 206 | { |
| 207 | UInt rv = UInt(-1); |
| 208 | #pragma omp critical (MetaInfoRegistry) |
| 209 | { |
| 210 | MapString2IndexType::const_iterator it = name_to_index_.find(name); |
| 211 | if (it != name_to_index_.end()) |
| 212 | { |
| 213 | rv = it->second; |
| 214 | } |
| 215 | } |
| 216 | return rv; |
| 217 | } |
| 218 | |
| 219 | String MetaInfoRegistry::getDescription(UInt index) const |
| 220 | { |
no test coverage detected