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

result of any expression More...

#include <jkqtpmathparser.h>

Collaboration diagram for JKQTPMathParser::jkmpResult:
[legend]

Public Member Functions

 jkmpResult ()
 
std::string toString ()
 convert the value this struct representens into a std::string
 
std::string toTypeString ()
 convert the value this struct representens into a std::string and adds the name of the datatype in [...]
 

Public Attributes

bool boolean
 contains result if type==jkmpBool
 
bool isValid
 
double num
 contains result if type==jkmpDouble
 
std::string str
 contains result if type==jkmpString
 
jkmpResultType type
 type of the result
 

Detailed Description

result of any expression

Constructor & Destructor Documentation

◆ jkmpResult()

JKQTPMathParser::jkmpResult::jkmpResult ( )

Member Function Documentation

◆ toString()

std::string JKQTPMathParser::jkmpResult::toString ( )

convert the value this struct representens into a std::string

◆ toTypeString()

std::string JKQTPMathParser::jkmpResult::toTypeString ( )

convert the value this struct representens into a std::string and adds the name of the datatype in [...]

Member Data Documentation

◆ boolean

bool JKQTPMathParser::jkmpResult::boolean

contains result if type==jkmpBool

◆ isValid

bool JKQTPMathParser::jkmpResult::isValid

◆ num

double JKQTPMathParser::jkmpResult::num

contains result if type==jkmpDouble

◆ str

std::string JKQTPMathParser::jkmpResult::str

contains result if type==jkmpString

◆ type

jkmpResultType JKQTPMathParser::jkmpResult::type

type of the result


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