|
| template<typename TX > |
| static TX & | setType (TX &tree, const typename TX::node_data_t::xml_tag_t &type) |
| |
|
template<typename TX , typename ... TT> |
| static TX & | setTypeAndID (TX &tree, const typename TX::node_data_t::xml_tag_t &type, const TT &...args) |
| |
|
template<typename N > |
| static N::xml_tag_t | retrieveDefaultType (const N &parentNode) |
| | Find node type (tag id) from a predefined list of default types for (some) parent types.
|
| |
| template<typename T > |
| static bool | initChildWithDefaultType (const T &tree, T &child) |
| |
| template<typename T > |
| static T & | assign (T &dst, const T &src) |
| | Assign another tree structure to another.
|
| |
| template<typename TX > |
| static TX & | assign (TX &dst, const typename TX::xml_node_t &src) |
| | Copy node data to tree.
|
| |
| template<typename T , typename V > |
| static T & | assign (T &tree, const V &arg) |
| | Assign property to a XML tree node.
|
| |
| template<typename T > |
| static T & | assign (T &tree, std::initializer_list< std::pair< const char *, const Variable > > l) |
| | Tree.
|
| |
| template<typename TX > |
| static TX & | assignString (TX &tree, const std::string &s) |
| | When assigning a string, create new element unless the element itself is of type CTEXT.
|
| |
|
template<typename TX > |
| static TX & | appendString (TX &tree, const std::string &s) |
| |
|
template<typename N > |
| static | DRAIN_XML_TREE (N) &getHeaderObject(DRAIN_XML_TREE(N) &root |
| |
|
template<typename N > |
| static | DRAIN_XML_TREE (N) &appendHeaderObject(DRAIN_XML_TREE(N) &root |
| |
| template<typename T > |
| static T & | ensureStyleElem (T &elem) |
| | If element is of type STYLE, return it. If not, return header object of type STYLE.
|
| |
| template<typename T , typename S > |
| static T & | ensureStyle (T &elem, const S &selector, const std::initializer_list< std::pair< const char *, const Variable > > &styleDef) |
| |
Functions for manipulating XML structures.