updated everything with node

This commit is contained in:
HENRY Benjamin
2021-06-17 17:10:31 +02:00
parent 82daa27b96
commit c71104389d
6 changed files with 90 additions and 163 deletions
+10
View File
@@ -44,6 +44,16 @@ namespace BBM
return childs;
}
std::vector<Node> Node::getChildNodes(void)
{
std::vector<Node> childs;
for (const auto &child : this->_childNodes) {
childs.emplace_back(child);
}
return childs;
}
void Node::setName(const std::string &name)
{
this->_name = name;