Numworks Epsilon
1.4.1
Graphing Calculator Operating System
toolbox_message_tree.h
Go to the documentation of this file.
1
#ifndef ESCHER_TOOLBOX_MESSAGE_TREE_H
2
#define ESCHER_TOOLBOX_MESSAGE_TREE_H
3
4
#include <
escher/message_tree.h
>
5
6
class
ToolboxMessageTree
:
public
MessageTree
{
7
public
:
8
constexpr
ToolboxMessageTree
(I18n::Message
label
= (I18n::Message)0, I18n::Message
text
= (I18n::Message)0, I18n::Message
insertedText
= (I18n::Message)0,
const
ToolboxMessageTree
*
children
=
nullptr
,
int
numberOfChildren
= 0) :
9
MessageTree
(
label
,
numberOfChildren
),
10
m_children(
children
),
11
m_text(
text
),
12
m_insertedText(
insertedText
)
13
{
14
};
15
const
MessageTree
*
children
(
int
index)
const override
;
16
I18n::Message
text
()
const
;
17
I18n::Message
insertedText
()
const
;
18
private
:
19
const
ToolboxMessageTree
* m_children;
20
I18n::Message m_text;
21
I18n::Message m_insertedText;
22
};
23
24
#endif
25
ToolboxMessageTree
Definition:
toolbox_message_tree.h:6
message_tree.h
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
ToolboxMessageTree::insertedText
I18n::Message insertedText() const
Definition:
toolbox_message_tree.cpp:7
ToolboxMessageTree::text
I18n::Message text() const
Definition:
toolbox_message_tree.cpp:3
ToolboxMessageTree::ToolboxMessageTree
constexpr ToolboxMessageTree(I18n::Message label=(I18n::Message) 0, I18n::Message text=(I18n::Message) 0, I18n::Message insertedText=(I18n::Message) 0, const ToolboxMessageTree *children=nullptr, int numberOfChildren=0)
Definition:
toolbox_message_tree.h:8
ToolboxMessageTree::children
const MessageTree * children(int index) const override
Definition:
toolbox_message_tree.cpp:11
epsilon
escher
include
escher
toolbox_message_tree.h
Generated by
1.8.14