CCIMXDesktop
Loading...
Searching...
No Matches
FunctorTreeNode.h
1
#ifndef FUNCTORTREENODE_H
2
#define FUNCTORTREENODE_H
3
#include <QString>
4
#include "TreeNodeBase.h"
5
6
class
FunctorTreeNode
:
public
TreeNodeBase
{
7
QString name;
8
TreeNodeBase
* argument;
9
10
public
:
17
FunctorTreeNode
(QString name,
TreeNodeBase
* arg);
18
~FunctorTreeNode
();
24
double
evaluate
()
const override
;
25
};
26
27
#endif
// FUNCTORTREENODE_H
FunctorTreeNode
Definition
FunctorTreeNode.h:6
FunctorTreeNode::evaluate
double evaluate() const override
evaluate the expressions
Definition
FunctorTreeNode.cpp:25
TreeNodeBase
Tree Node is expected to be like this!
Definition
TreeNodeBase.h:7
builtin
app
Caculator
core
FunctorTreeNode.h
Generated by
1.9.8