18 #include <boost/variant.hpp>
23 template <
typename AT>
42 subtags_.push_back(std::make_pair(&tagname, &child));
45 std::vector<std::pair<const std::string*, const configr_of*>>
subtags_;
configr_of(const std::string &attrname, AT value)
configr_of & operator()(const std::string &tagname, const configr_of &child)
configr_of & operator()(const config &cfg)
configr_of(const config &cfg)
Definitions for the interface to Wesnoth Markup Language (WML).
GLsizei const GLfloat * value
std::vector< std::pair< const std::string *, const configr_of * > > subtags_
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string