|
| 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 TX > |
| static TX & | setType (TX &tree, const typename TX::node_data_t::xml_tag_t &type) |
| |
|
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 & | getHeaderObject (T &root, typename T::node_data_t::xml_tag_t tag, const typename T::path_elem_t &key=typename T::path_elem_t()) |
| |
| 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 > |
| static T & | ensureStyle (T &elem, const SelectXML< typename T::node_data_t::xml_tag_t > &selector, const std::initializer_list< std::pair< const char *, const Variable > > &styleDef) |
| |
|
template<typename N , typename ... TT> |
| static UnorderedMultiTree< N > & | ensureJavaScriptFunction (UnorderedMultiTree< N > &root, const std::string &name, const TT &...args) |
| |
| template<typename N > |
| static UnorderedMultiTree< N > & | ensureJavaScriptUrl (UnorderedMultiTree< N > &root, const std::string &url) |
| |
Base class for XML "nodes", to be data elements T for drain::Tree<T>