Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Test(const DewString &anExpr, double ResultValue, bool AllowNanInf = false); | Specifies a single expression, which must match ResultValue, underwise an exception is raised. |
| 2 | void Test(const DewString &anExpr, TCplx ResultValue, bool AllowNanInf = false); | Specifies a single expression, which must match ResultValue, underwise an exception is raised. |
| 3 | void Test(const DewString &anExpr, bool ResultValue); |
Overload 1: void Test(const DewString &anExpr, double ResultValue, bool AllowNanInf = false);
Specifies a single expression, which must match ResultValue, underwise an exception is raised.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | anExpr | const DewString & | |
| 2 | ResultValue | double | |
| 3 | AllowNanInf = false | bool |
Examples
#include "MtxParseExpr.h"
using namespace Dew;
using namespace Dew::Math;
void Example()
{
TMtxExpression* aParser = new TMtxExpression();
aParser->Test("1+2", 3.0); //no exception will be raised, if result is a match
delete aParser;
}
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler
Overload 2: void Test(const DewString &anExpr, TCplx ResultValue, bool AllowNanInf = false);
Specifies a single expression, which must match ResultValue, underwise an exception is raised.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | anExpr | const DewString & | |
| 2 | ResultValue | TCplx | |
| 3 | AllowNanInf = false | bool |
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler
Overload 3: void Test(const DewString &anExpr, bool ResultValue);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | anExpr | const DewString & | |
| 2 | ResultValue | bool |
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler