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