#include "Node.h" namespace xml { Node::Node(NodeType nodeType) : nodeType(nodeType) { } Node::~Node() { for ( size_t i = 0; i < childNodes.size(); ++i ) delete childNodes[i]; } } // namespace xml