std::vector< AM_PARAM > AM_PARAMS
std::vector< AM_PARAM_EVAL > AM_PARAM_EVAL_STACK
This helper class hold a value or an arithmetic operator to calculate the final value of a aperture m...
AM_PARAM_EVAL(double aValue)
parm_item_type GetOperator() const
static int GetPriority(parm_item_type aType)
AM_PARAM_EVAL(parm_item_type aType)
parm_item_type GetType() const
Hold an operand for an AM_PARAM as defined within standard RS274X.
unsigned GetIndex() const
parm_item_type GetType() const
AM_PARAM_ITEM(parm_item_type aType, double aValue)
void SetValue(double aValue)
AM_PARAM_ITEM(parm_item_type aType, int aValue)
Hold a parameter value for an "aperture macro" as defined within standard RS274X.
bool ReadParamFromAmDef(char *&aText)
Read one aperture macro parameter.
void SetIndex(int aIndex)
void PushOperator(parm_item_type aType, double aValue)
Add an operator/operand to the current stack.
bool IsImmediate() const
Test if this AM_PARAM holds an immediate parameter or is a pointer into a parameter held by an owning...
unsigned GetIndex() const
std::vector< AM_PARAM_ITEM > m_paramStack
List of operands/operators to evaluate the actual value if a par def is $3/2, there are 3 items in st...
int m_index
has meaning to define parameter local to an aperture macro this is the id of a parameter defined like...
double GetValueFromMacro(APERTURE_MACRO *aApertureMacro) const
Support the "aperture macro" defined within standard RS274X.