| 85 | } |
| 86 | |
| 87 | template <class T> void _extractor_impl (tl::Extractor &ex, db::object_with_properties<T> &p) |
| 88 | { |
| 89 | if (! test_extractor_impl (ex, p)) { |
| 90 | ex.error (tl::to_string (tr ("Expected a shape specification with properties"))); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | template <> bool test_extractor_impl (tl::Extractor &ex, db::object_with_properties<db::Box> &p) { return _test_extractor_impl (ex, p); } |
| 95 | template <> bool test_extractor_impl (tl::Extractor &ex, db::object_with_properties<db::UserObject> &p) { return _test_extractor_impl (ex, p); } |
no test coverage detected