64 assert(pos <=
size());
78 assert(index <
size());
88 assert(index <=
size());
118 new_config->
swap(command);
config & get_upload_log()
child_itors child_range(config_key_type key)
config & insert_command(int index)
boost::ptr_vector< config > commands_
void write_child(const std::string &key, const config &cfg)
void remove_command(int index)
Class for writing a config out to a file in pieces.
void write(config_writer &out) const
utils::optional_reference< config > optional_child(config_key_type key, int n=0)
Euivalent to child, but returns an empty optional if the nth child was not found. ...
config & get_command_at(int pos)
void swap(replay_recorder_base &lhs, replay_recorder_base &rhs)
Implement non-member swap function for std::swap (calls replay_recorder_base::swap).
void append_config(const config &data)
std::size_t index(const std::string &str, const std::size_t index)
Codepoint index corresponding to the nth character in a UTF-8 string.
config & add_child(config_key_type key)
void swap(replay_recorder_base &other)
void delete_upcoming_commands()
A config object defines a single node in a WML file, with access to child nodes.