18 #ifndef SERIALIZATION_BINARY_OR_TEXT_HPP_INCLUDED
19 #define SERIALIZATION_BINARY_OR_TEXT_HPP_INCLUDED
26 #include <boost/iostreams/filtering_stream.hpp>
55 boost::iostreams::filtering_stream<boost::iostreams::output>
filter_;
void write(const config &cfg)
config_writer(std::ostream &out, compression::format compress)
compression::format compress_
Definitions for the interface to Wesnoth Markup Language (WML).
Variant for storing WML attributes.
void write_child(const std::string &key, const config &cfg)
void write_key_val(const std::string &key, const T &value)
This template function will work with any type that can be assigned to an attribute_value.
void close_child(const std::string &key)
Class for writing a config out to a file in pieces.
GLsizei const GLfloat * value
void open_child(const std::string &key)
~config_writer()
Default implementation, but defined out-of-line for efficiency reasons.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
boost::iostreams::filtering_stream< boost::iostreams::output > filter_