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

Class CustomQuery

OsiInterface/CustomFunctions.h:165–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 };
164
165 class CustomQuery : public CustomFunction
166 {
167 public:
168 inline CustomQuery(std::string const & name, std::vector<CustomFunctionParam> params,
169 std::function<bool(OsiArgumentDesc &)> handler)
170 : CustomFunction(name, std::move(params)), handler_(handler)
171 {}
172
173 bool Query(OsiArgumentDesc & params);
174
175 private:
176 std::function<bool(OsiArgumentDesc &)> handler_;
177 };
178
179 class CustomEvent : public CustomFunction
180 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected