Numworks Epsilon
1.4.1
Graphing Calculator Operating System
message_tree.h
Go to the documentation of this file.
1
#ifndef ESCHER_MESSAGE_TREE_H
2
#define ESCHER_MESSAGE_TREE_H
3
4
#include <
escher/i18n.h
>
5
6
class
MessageTree
{
7
public
:
8
constexpr
MessageTree
(I18n::Message
label
= (I18n::Message)0,
int
numberOfChildren
= 0) :
9
m_label
(
label
),
10
m_numberOfChildren
(
numberOfChildren
)
11
{
12
};
13
virtual
const
MessageTree
*
children
(
int
index)
const
= 0;
14
I18n::Message
label
()
const
;
15
int
numberOfChildren
()
const
;
16
bool
isNull
()
const
;
17
protected
:
18
I18n::Message
m_label
;
19
int
m_numberOfChildren
;
20
};
21
22
#endif
23
MessageTree::numberOfChildren
int numberOfChildren() const
Definition:
message_tree.cpp:3
MessageTree
Definition:
message_tree.h:6
MessageTree::label
I18n::Message label() const
Definition:
message_tree.cpp:7
MessageTree::isNull
bool isNull() const
Definition:
message_tree.cpp:11
MessageTree::m_numberOfChildren
int m_numberOfChildren
Definition:
message_tree.h:19
MessageTree::m_label
I18n::Message m_label
Definition:
message_tree.h:18
MessageTree::MessageTree
constexpr MessageTree(I18n::Message label=(I18n::Message) 0, int numberOfChildren=0)
Definition:
message_tree.h:8
MessageTree::children
virtual const MessageTree * children(int index) const =0
i18n.h
epsilon
escher
include
escher
message_tree.h
Generated by
1.8.14