MCPcopy Create free account
hub / github.com/baidu/babylon / config

Method config

test/anyflow/test_processor.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22struct MockProcessor : public GraphProcessor {
23 virtual int config(const Any& raw, Any& option) const noexcept override {
24 option = *raw.get<::std::string>() + option_append;
25 config_called = true;
26 return config_return;
27 }
28
29 virtual int setup() noexcept override {
30 option_effect = *option<::std::string>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected