343 #endif // _AM_PARAM_H_
std::vector< AM_PARAM_ITEM > m_paramStack
static int GetPriority(parm_item_type aType)
double GetValue(const D_CODE *aDcode) const
unsigned GetIndex() const
bool IsImmediate() const
Function IsImmediate tests if this AM_PARAM holds an immediate parameter or is a pointer into a param...
parm_item_type GetType() const
parm_item_type GetOperator() const
AM_PARAM holds an operand for an AM_PARAM as defined within standard RS274X.
AM_PARAM_EVAL(double aValue)
bool ReadParam(char *&aText)
Function ReadParam Read one aperture macro parameter a parameter can be: a number a reference to an a...
void PushOperator(parm_item_type aType, double aValue)
function PushOperator add an operator/operand to the current stack
parm_item_type GetType() const
std::vector< AM_PARAM > AM_PARAMS
AM_PARAM holds a parameter value for an "aperture macro" as defined within standard RS274X.
AM_PARAM_EVAL(parm_item_type aType)
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_ITEM(parm_item_type aType, int aValue)
void SetValue(double aValue)
D_CODE holds a gerber DCODE (also called Aperture) definition.
unsigned GetIndex() const
AM_PARAM_ITEM(parm_item_type aType, double aValue)
void SetIndex(int aIndex)