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 
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) :
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 
int numberOfChildren() const
Definition: message_tree.cpp:3
I18n::Message label() const
Definition: message_tree.cpp:7
I18n::Message insertedText() const
I18n::Message text() const
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)
const MessageTree * children(int index) const override