void MultipleFilePrinter::print(config::DurationConfigPtr duration_ptr) { openFunction(duration_ptr->label()); duration_ptr->accept(ModelConfigSerializer( Self::make(false, root_dir_, os_, depth_, "", ", ", ""))); closeFunction(); }
void Channel::onRemoteOpen(std::unique_ptr<JsonX::Object>&& parameter) { if (!openFunction) throw runtime_error("Open not supported"); openFunction(move(parameter)); }