Numworks Epsilon
1.4.1
Graphing Calculator Operating System
sequence_toolbox.h
Go to the documentation of this file.
1
#ifndef SEQUENCE_SEQUENCE_TOOLBOX_H
2
#define SEQUENCE_SEQUENCE_TOOLBOX_H
3
4
#include "../../math_toolbox.h"
5
6
namespace
Sequence
{
7
8
class
SequenceToolbox
:
public
MathToolbox
{
9
public
:
10
SequenceToolbox
();
11
~SequenceToolbox
();
12
SequenceToolbox
(
const
SequenceToolbox
& other) =
delete
;
13
SequenceToolbox
(
SequenceToolbox
&& other) =
delete
;
14
SequenceToolbox
&
operator=
(
const
SequenceToolbox
& other) =
delete
;
15
SequenceToolbox
&
operator=
(
SequenceToolbox
&& other) =
delete
;
16
bool
handleEvent
(
Ion::Events::Event
event)
override
;
17
int
numberOfRows
()
override
;
18
HighlightCell
*
reusableCell
(
int
index,
int
type)
override
;
19
void
willDisplayCellForIndex
(
HighlightCell
* cell,
int
index)
override
;
20
int
typeAtLocation
(
int
i,
int
j)
override
;
21
void
setExtraCells
(
const
char
* sequenceName,
int
recurrenceDepth);
22
private
:
23
bool
selectAddedCell(
int
selectedRow
);
24
int
mathToolboxIndex(
int
index);
25
ExpressionTableCell
m_addedCells[
k_maxNumberOfDisplayedRows
];
26
Poincare::ExpressionLayout
* m_addedCellLayout[
k_maxNumberOfDisplayedRows
];
27
int
m_numberOfAddedCells;
28
};
29
30
}
31
32
#endif
Sequence::SequenceToolbox::operator=
SequenceToolbox & operator=(const SequenceToolbox &other)=delete
Sequence::SequenceToolbox::SequenceToolbox
SequenceToolbox()
Definition:
sequence_toolbox.cpp:11
Sequence::SequenceToolbox::setExtraCells
void setExtraCells(const char *sequenceName, int recurrenceDepth)
Definition:
sequence_toolbox.cpp:67
Sequence::SequenceToolbox::typeAtLocation
int typeAtLocation(int i, int j) override
Definition:
sequence_toolbox.cpp:60
SelectableTableViewDataSource::selectedRow
int selectedRow()
Definition:
selectable_table_view_data_source.cpp:9
Ion::Events::Event
Definition:
events.h:9
Sequence::SequenceToolbox
Definition:
sequence_toolbox.h:8
MathToolbox::k_maxNumberOfDisplayedRows
static constexpr int k_maxNumberOfDisplayedRows
Definition:
math_toolbox.h:18
Sequence::SequenceToolbox::numberOfRows
int numberOfRows() override
Definition:
sequence_toolbox.cpp:37
Sequence::SequenceToolbox::handleEvent
bool handleEvent(Ion::Events::Event event) override
Definition:
sequence_toolbox.cpp:27
HighlightCell
Definition:
highlight_cell.h:7
Poincare::ExpressionLayout
Definition:
expression_layout.h:8
Sequence::SequenceToolbox::~SequenceToolbox
~SequenceToolbox()
Definition:
sequence_toolbox.cpp:18
ExpressionTableCell
Definition:
expression_table_cell.h:7
Sequence
Definition:
app.cpp:7
MathToolbox
Definition:
math_toolbox.h:8
Sequence::SequenceToolbox::reusableCell
HighlightCell * reusableCell(int index, int type) override
Definition:
sequence_toolbox.cpp:44
Sequence::SequenceToolbox::willDisplayCellForIndex
void willDisplayCellForIndex(HighlightCell *cell, int index) override
Definition:
sequence_toolbox.cpp:54
epsilon
apps
sequence
list
sequence_toolbox.h
Generated by
1.8.14