JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

This class is the abstract base class for nodes. All allowed node types must inherit from jkmpNode. More...

#include <jkqtpmathparser.h>

Inheritance diagram for JKQTPMathParser::jkmpNode:
[legend]
Collaboration diagram for JKQTPMathParser::jkmpNode:
[legend]

Public Member Functions

 jkmpNode (JKQTPMathParser *parser_=nullptr, jkmpNode *parent_=nullptr)
 
virtual ~jkmpNode ()
 virtual class destructor
 
virtual jkmpResult evaluate ()=0
 evaluate this node
 
jkmpNodegetParent ()
 returns a pointer to the parent node
 
JKQTPMathParsergetParser ()
 return a pointer to the JKQTPMathParser

 
void setParent (jkmpNode *par)
 sets the parent node

 
void setParser (JKQTPMathParser *mp)
 set the JKQTPMathParser

 

Protected Attributes

jkmpNodeparent
 points to the parent node
 
JKQTPMathParserparser
 points to the parser object that is used to evaluate this node
 

Detailed Description

This class is the abstract base class for nodes. All allowed node types must inherit from jkmpNode.

Constructor & Destructor Documentation

◆ jkmpNode()

JKQTPMathParser::jkmpNode::jkmpNode ( JKQTPMathParser parser_ = nullptr,
jkmpNode parent_ = nullptr 
)

◆ ~jkmpNode()

virtual JKQTPMathParser::jkmpNode::~jkmpNode ( )
virtual

virtual class destructor

Member Function Documentation

◆ evaluate()

◆ getParent()

jkmpNode * JKQTPMathParser::jkmpNode::getParent ( )

returns a pointer to the parent node

◆ getParser()

JKQTPMathParser * JKQTPMathParser::jkmpNode::getParser ( )

return a pointer to the JKQTPMathParser

◆ setParent()

void JKQTPMathParser::jkmpNode::setParent ( jkmpNode par)

sets the parent node

◆ setParser()

void JKQTPMathParser::jkmpNode::setParser ( JKQTPMathParser mp)

set the JKQTPMathParser

Member Data Documentation

◆ parent

jkmpNode* JKQTPMathParser::jkmpNode::parent
protected

points to the parent node

◆ parser

JKQTPMathParser* JKQTPMathParser::jkmpNode::parser
protected

points to the parser object that is used to evaluate this node


The documentation for this class was generated from the following file: