| 260 | } |
| 261 | |
| 262 | std::optional<json::object> Context::get_node_data(const std::string& node_name) const |
| 263 | { |
| 264 | auto pp_opt = get_pipeline_data(node_name); |
| 265 | if (!pp_opt) { |
| 266 | return std::nullopt; |
| 267 | } |
| 268 | |
| 269 | return MAA_RES_NS::PipelineDumper::dump(*pp_opt); |
| 270 | } |
| 271 | |
| 272 | Context* Context::clone() const |
| 273 | { |
no outgoing calls