mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[apps] create an abstract class for node
Change-Id: I3a946df720c37ec2b087cf6131ea886da3e26c95
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
#include "node.h"
|
||||
|
||||
const Node * Node::children(int index) const {
|
||||
return &m_children[index];
|
||||
}
|
||||
|
||||
int Node::numberOfChildren() {
|
||||
return m_numberOfChildren;
|
||||
}
|
||||
@@ -12,10 +8,6 @@ const char * Node::label() const {
|
||||
return m_label;
|
||||
}
|
||||
|
||||
const char * Node::text() const {
|
||||
return m_text;
|
||||
}
|
||||
|
||||
bool Node::isNull() {
|
||||
return (m_label == nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user