| 285 | } |
| 286 | |
| 287 | GeomPropDefPtr Input::getDefaultGeomProp() const |
| 288 | { |
| 289 | const string& defaultGeomProp = getAttribute(DEFAULT_GEOM_PROP_ATTRIBUTE); |
| 290 | if (!defaultGeomProp.empty()) |
| 291 | { |
| 292 | ConstDocumentPtr doc = getDocument(); |
| 293 | return doc->getChildOfType<GeomPropDef>(defaultGeomProp); |
| 294 | } |
| 295 | return nullptr; |
| 296 | } |
| 297 | |
| 298 | bool Input::validate(string* message) const |
| 299 | { |
no test coverage detected