Constructs an empty node with the specified type. Consider using memory_pool of appropriate document to allocate nodes manually. \param type Type of node to construct.
| 899 | //! Consider using memory_pool of appropriate document to allocate nodes manually. |
| 900 | //! \param type Type of node to construct. |
| 901 | xml_node(node_type type) |
| 902 | : m_type(type) |
| 903 | , m_first_node(0) |
| 904 | , m_first_attribute(0) |
| 905 | { |
| 906 | } |
| 907 | |
| 908 | /////////////////////////////////////////////////////////////////////////// |
| 909 | // Node data access |
nothing calls this directly
no outgoing calls
no test coverage detected