#include "nodes.h" #include using namespace std; void Node::addChildren(refptr other) { if (other.isNull()) return; for (vector< refptr >::const_iterator it = other->m_children.begin(); it != other->m_children.end(); it++) { addChild(*it); } }