jtlc/nodes/Node.cc
josh 55b80e8f09 started filling in new node types, creating them in parser
git-svn-id: svn://anubis/jtlc/trunk@13 f5bc74b8-7b62-4e90-9214-7121d538519f
2010-01-13 20:48:37 +00:00

23 lines
361 B
C++

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