MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / findNode

Method findNode

src/plugins/udr_engine/UdrEngine.cpp:622–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620
621
622template <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
643void Engine::open(ThrowStatusWrapper* /*status*/, IExternalContext* /*context*/, char* name, unsigned nameSize)

Callers

nothing calls this directly

Calls 2

FbExceptionClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected