| 1004 | } |
| 1005 | |
| 1006 | template<> DB_PUBLIC bool test_extractor_impl (tl::Extractor &ex, db::LayerMap &t) |
| 1007 | { |
| 1008 | t = db::LayerMap (); |
| 1009 | |
| 1010 | if (!ex.test("layer_map")) { |
| 1011 | return false; |
| 1012 | } |
| 1013 | |
| 1014 | ex.test("("); |
| 1015 | |
| 1016 | unsigned int l = 0; |
| 1017 | while (! ex.test (")") && ! ex.at_end ()) { |
| 1018 | std::string m; |
| 1019 | ex.read_word_or_quoted (m); |
| 1020 | t.add_expr (m, l); |
| 1021 | ++l; |
| 1022 | ex.test (";"); |
| 1023 | } |
| 1024 | |
| 1025 | return true; |
| 1026 | } |
| 1027 | } |
| 1028 |
nothing calls this directly
no test coverage detected