Open 3D Engine ExpressionEvaluation Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ExpressionEvaluation::MathExpressionOperators Class Reference

Inherits ExpressionEvaluation::ExpressionElementParser.

Public Types

enum  MathExpressionOperatorPriority {
  Unknown = -1 , AddSubtract = 0 , MultiplyDivideModulo = 1 , Power = 2 ,
  Function = 3
}
 
enum  MathOperatorId {
  Add = 0 , Subtract , Multiply , Divide ,
  Modulo
}
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (MathExpressionOperators, AZ::SystemAllocator)
 
ExpressionParserId GetParserId () const override
 
ParseResult ParseElement (const AZStd::string &inputText, size_t offset) const override
 
void EvaluateToken (const ElementInformation &elementInformation, ExpressionResultStack &evaluationStack) const override
 
- Public Member Functions inherited from ExpressionEvaluation::ExpressionElementParser
 AZ_CLASS_ALLOCATOR (ExpressionElementParser, AZ::SystemAllocator)
 

Static Public Member Functions

static ElementInformation AddOperator ()
 
static ElementInformation SubtractOperator ()
 
static ElementInformation MultiplyOperator ()
 
static ElementInformation DivideOperator ()
 
static ElementInformation ModuloOperator ()
 

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