Exemple #1
0
 size_t nrRelations() const {return childs_.size();}
Exemple #2
0
bool Node::IsParentOf(const Node *node)
{
	return (std::find(childs_.begin(), childs_.end(), node) != childs_.end());
}
Exemple #3
0
 void addRelation(Ptr_ el){childs_.push_back(el);}
Exemple #4
0
Node* Node::AddChild(Node* node)
{
	childs_.push_back(node);
	return node;
}