16 #include <boost/ptr_container/ptr_vector.hpp>
Class for writing a config out to a file in pieces.
A config object defines a single node in a WML file, with access to child nodes.
void write(config_writer &out) const
void swap(replay_recorder_base &&other)
void append_config(const config &data)
void delete_upcoming_commands()
config & get_upload_log()
void swap(replay_recorder_base &other)
bool is_ancestor(const config &other_replay) const
checks whether the parameter is an earlier state in the same "savegame gamestate branch"
config & get_command_at(int pos)
config & insert_command(int index)
boost::ptr_vector< config > commands_
void remove_command(int index)
Definitions for the interface to Wesnoth Markup Language (WML).
std::size_t index(std::string_view str, const std::size_t index)
Codepoint index corresponding to the nth character in a UTF-8 string.
void swap(replay_recorder_base &lhs, replay_recorder_base &rhs)
Implement non-member swap function for std::swap (calls replay_recorder_base::swap).