51 typedef std::map<std::string, handler>
map;
57 wml_action(
const std::string & tag, handler
function);
60 static map::const_iterator
begin() {
return registry_.begin(); }
62 static map::const_iterator
end() {
return registry_.end(); }
63 static const map&
registry() {
return registry_; }
std::map< std::string, handler > map
static map::const_iterator begin()
The first registered action.
A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separa...
static map::const_iterator end()
One past the last registered action.
static map registry_
Tracks the known action handlers.
A variable-expanding proxy for the config class.
static const map & registry()
A config object defines a single node in a WML file, with access to child nodes.