| 191 | |
| 192 | |
| 193 | static void initFeatureTypeTable() |
| 194 | { |
| 195 | featureTableInitialized = true; |
| 196 | |
| 197 | for (int i = 0; i < (int)(sizeof(FeatureNames) / sizeof(FeatureNames[0])); i++) |
| 198 | { |
| 199 | FeatureNameToFlag[string(FeatureNames[i].name)] = FeatureNames[i].flag; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | |
| 204 | Location::FeatureType Location::parseFeatureType(const string& s) |