|
KiCad PCB EDA Suite
|
Hold an operand for an AM_PARAM as defined within standard RS274X. More...
#include <am_param.h>
Public Member Functions | |
| AM_PARAM_ITEM (parm_item_type aType, double aValue) | |
| AM_PARAM_ITEM (parm_item_type aType, int aValue) | |
| void | SetValue (double aValue) |
| double | GetValue () const |
| parm_item_type | GetType () const |
| unsigned | GetIndex () const |
| bool | IsOperator () const |
| bool | IsOperand () const |
| bool | IsDefered () const |
Private Attributes | |
| parm_item_type | m_type |
| double | m_dvalue |
| int | m_ivalue |
Hold an operand for an AM_PARAM as defined within standard RS274X.
The value field can be a constant, i.e. "immediate" parameter or it may not be used if this param is going to defer to the referencing aperture macro. In that case, the index field is an index into the aperture macro's parameters.
Definition at line 215 of file am_param.h.
|
inline |
Definition at line 218 of file am_param.h.
|
inline |
Definition at line 225 of file am_param.h.
|
inline |
Definition at line 247 of file am_param.h.
References m_ivalue.
Referenced by AM_PARAM::GetValueFromMacro().
|
inline |
Definition at line 242 of file am_param.h.
References m_type.
Referenced by AM_PARAM::GetValueFromMacro().
|
inline |
Definition at line 237 of file am_param.h.
References m_dvalue.
Referenced by AM_PARAM::GetValueFromMacro().
|
inline |
Definition at line 261 of file am_param.h.
|
inline |
Definition at line 256 of file am_param.h.
|
inline |
|
inline |
Definition at line 232 of file am_param.h.
References m_dvalue.
|
private |
Definition at line 268 of file am_param.h.
Referenced by AM_PARAM_ITEM(), AM_PARAM_ITEM(), GetValue(), and SetValue().
|
private |
Definition at line 269 of file am_param.h.
Referenced by AM_PARAM_ITEM(), AM_PARAM_ITEM(), and GetIndex().
|
private |
Definition at line 267 of file am_param.h.
Referenced by AM_PARAM_ITEM(), AM_PARAM_ITEM(), GetType(), IsDefered(), IsOperand(), and IsOperator().