blob: 09ca2548b87be7d3680e4b736deb87b617ff061d [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <iosfwd>
#include <string>
class Err;
class Settings;
class Value;
// Converts the given input Value to an output string (to be written to a file).
// Conversions as specified in the output_conversion string will be performed.
// The given ostream will be used for writing the resulting string.
// If the conversion string is invalid, the error will be set.
void ConvertValueToOutput(const Settings* settings,
const Value& output,
const Value& output_conversion_value,
std::ostream& out,
Err* err);