KiCad PCB EDA Suite
|
This helper class hold a value or an arithmetic operator to calculate the final value of a aperture macro parameter, using usual arithmetic operator precedence Only operators ADD, SUB, MUL, DIV, OPEN_PAR, CLOSE_PAR have meaning when calculating a value. More...
#include <am_param.h>
Public Member Functions | |
AM_PARAM_EVAL (parm_item_type aType) | |
AM_PARAM_EVAL (double aValue) | |
parm_item_type | GetType () const |
bool | IsOperator () const |
double | GetValue () const |
parm_item_type | GetOperator () const |
int | GetPriority () const |
Static Public Member Functions | |
static int | GetPriority (parm_item_type aType) |
Private Attributes | |
parm_item_type | m_type |
double | m_dvalue |
This helper class hold a value or an arithmetic operator to calculate the final value of a aperture macro parameter, using usual arithmetic operator precedence Only operators ADD, SUB, MUL, DIV, OPEN_PAR, CLOSE_PAR have meaning when calculating a value.
Definition at line 160 of file am_param.h.
|
inline |
Definition at line 163 of file am_param.h.
|
inline |
Definition at line 167 of file am_param.h.
|
inline |
Definition at line 178 of file am_param.h.
References m_type.
Referenced by Evaluate(), and GetPriority().
|
inline |
Definition at line 179 of file am_param.h.
References GetOperator(), and GetPriority().
Referenced by Evaluate(), and GetPriority().
|
inlinestatic |
|
inline |
Definition at line 171 of file am_param.h.
References m_type.
|
inline |
|
inline |
|
private |
Definition at line 206 of file am_param.h.
Referenced by GetValue().
|
private |
Definition at line 205 of file am_param.h.
Referenced by GetOperator(), GetType(), and IsOperator().