| 620 | |
| 621 | |
| 622 | template <typename T> T* Engine::findNode(ThrowStatusWrapper* status, |
| 623 | const GenericMap<Pair<Left<string, T*> > >& nodes, const string& entryPoint) |
| 624 | { |
| 625 | T* factory; |
| 626 | |
| 627 | if (nodes.get(entryPoint, factory)) |
| 628 | return factory; |
| 629 | |
| 630 | static const ISC_STATUS statusVector[] = { |
| 631 | isc_arg_gds, isc_random, |
| 632 | isc_arg_string, (ISC_STATUS) "Entry point not found", |
| 633 | //// TODO: isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS) entryPoint.c_str(), |
| 634 | isc_arg_end |
| 635 | }; |
| 636 | |
| 637 | throw FbException(status, statusVector); |
| 638 | |
| 639 | return NULL; |
| 640 | } |
| 641 | |
| 642 | |
| 643 | void Engine::open(ThrowStatusWrapper* /*status*/, IExternalContext* /*context*/, char* name, unsigned nameSize) |
nothing calls this directly
no test coverage detected