KiCad PCB EDA Suite
am_param.h File Reference
#include <vector>
#include <dcode.h>

Go to the source code of this file.

Classes

class  AM_PARAM_EVAL
 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...
 
class  AM_PARAM_ITEM
 Hold an operand for an AM_PARAM as defined within standard RS274X. More...
 
class  AM_PARAM
 Hold a parameter value for an "aperture macro" as defined within standard RS274X. More...
 

Typedefs

typedef std::vector< AM_PARAM_EVALAM_PARAM_EVAL_STACK
 
typedef std::vector< AM_PARAMAM_PARAMS
 

Enumerations

enum  parm_item_type {
  NOP , PUSHVALUE , PUSHPARM , ADD ,
  SUB , MUL , DIV , OPEN_PAR ,
  CLOSE_PAR , POPVALUE
}
 

Typedef Documentation

◆ AM_PARAM_EVAL_STACK

typedef std::vector<AM_PARAM_EVAL> AM_PARAM_EVAL_STACK

Definition at line 210 of file am_param.h.

◆ AM_PARAMS

typedef std::vector<AM_PARAM> AM_PARAMS

Definition at line 343 of file am_param.h.

Enumeration Type Documentation

◆ parm_item_type

Enumerator
NOP 
PUSHVALUE 
PUSHPARM 
ADD 
SUB 
MUL 
DIV 
OPEN_PAR 
CLOSE_PAR 
POPVALUE 

Definition at line 148 of file am_param.h.

149{
151};
@ OPEN_PAR
Definition: am_param.h:150
@ MUL
Definition: am_param.h:150
@ SUB
Definition: am_param.h:150
@ CLOSE_PAR
Definition: am_param.h:150
@ DIV
Definition: am_param.h:150
@ PUSHVALUE
Definition: am_param.h:150
@ ADD
Definition: am_param.h:150
@ PUSHPARM
Definition: am_param.h:150
@ POPVALUE
Definition: am_param.h:150
@ NOP
Definition: am_param.h:150