51 assert(pos <=
size());
65 assert(index <
size());
75 assert(index <=
size());
86 if(
const config& upload_log = data.
child(
"upload_log"))
105 new_config->
swap(command);
child_itors child_range(const std::string &key)
config & get_upload_log()
config & insert_command(int index)
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
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
config & add_child(const std::string &key)
config & get_command_at(int pos)
void append_config(const config &data)
void swap(replay_recorder_base &other)
void swap(game_board &one, game_board &other)
config & child(const std::string &key, int n=0)
Returns the nth child with the given key, or a reference to an invalid config if there is none...
void delete_upcoming_commands()
A config object defines a single node in a WML file, with access to child nodes.