class
CArcNumericExpression
- Module
- Arc
- Header
#include "Arc/Core/CArcNumericExpression.h"- Namespace
Arcf
Constructors
| Signature | Name | Description |
|---|---|---|
CArcNumericExpression() = delete | CArcNumericExpression |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Evaluate | Evaluates text. |
bool | IsKnownUnit | True when the unit name is one Evaluate understands. |
Function details
CArcNumericExpression
C++
CArcNumericExpression() = deleteEvaluate
C++
static bool Evaluate(const std::string& text, double currentValue, const std::string& fieldUnit, double& outValue)Evaluates text. fieldUnit is the field's own unit ("" for none). Returns false — and leaves outValue alone — for anything that is not a complete, valid expression: a half-typed "1e" or "2*" never produces a number.
IsKnownUnit
C++
static bool IsKnownUnit(const std::string& unit)True when the unit name is one Evaluate understands.
Generated from Arc/Core/CArcNumericExpression.h via arc.json · Nov 5, 2026Version 1.0.0