MCPcopy Create free account
hub / github.com/Norbyte/ositools / QueryWrapper

Method QueryWrapper

OsiInterface/CustomFunctions.cpp:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364bool CustomFunctionInjector::QueryWrapper(std::function<bool(uint32_t, OsiArgumentDesc *)> const & next, uint32_t handle, OsiArgumentDesc * params)
365{
366 auto it = osiToDivMappings_.find(handle);
367 if (it != osiToDivMappings_.end()) {
368 return functions_.Query(it->second, *params);
369 } else {
370 return next(handle, params);
371 }
372}
373
374void CustomFunctionInjector::ExtendStoryHeader(std::wstring const & headerPath)
375{

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.45

Tested by

no test coverage detected