Files
Upsilon/apps/node.cpp
Émilie Feral 3c921a734f [apps] create a class Node
Change-Id: I8e1270bab5e4b121cb49750299c7d726c5bbb8d0
2016-11-10 10:55:21 +01:00

22 lines
326 B
C++

#include "node.h"
const Node * Node::children(int index) const {
return &m_children[index];
}
int Node::numberOfChildren() {
return m_numberOfChildren;
}
const char * Node::label() const {
return m_label;
}
const char * Node::text() const {
return m_text;
}
bool Node::isNull() {
return (m_label == nullptr);
}