KiCad PCB EDA Suite
template_fieldnames.h File Reference
#include <richio.h>
#include <template_fieldnames_lexer.h>

Go to the source code of this file.

Classes

struct  TEMPLATE_FIELDNAME
 Hold a name of a symbol's field, field value, and default visibility. More...
 
class  TEMPLATES
 

Typedefs

typedef std::vector< TEMPLATE_FIELDNAMETEMPLATE_FIELDNAMES
 

Enumerations

enum  MANDATORY_FIELD_T {
  REFERENCE_FIELD = 0, VALUE_FIELD, FOOTPRINT_FIELD, DATASHEET_FIELD,
  MANDATORY_FIELDS
}
 The set of all field indices assuming an array like sequence that a SCH_COMPONENT or LIB_PART can hold. More...
 

Typedef Documentation

◆ TEMPLATE_FIELDNAMES

typedef std::vector< TEMPLATE_FIELDNAME > TEMPLATE_FIELDNAMES

Definition at line 115 of file template_fieldnames.h.

Enumeration Type Documentation

◆ MANDATORY_FIELD_T

The set of all field indices assuming an array like sequence that a SCH_COMPONENT or LIB_PART can hold.

The first fields are fixed fields and are defined by MANDATORY_FIELDS. After that come an unlimited number of user defined fields, only some of which have indices defined here.

Enumerator
REFERENCE_FIELD 

Field Reference of part, i.e. "IC21".

VALUE_FIELD 

Field Value of part, i.e. "3.3K".

FOOTPRINT_FIELD 

Field Name Module PCB, i.e. "16DIP300".

DATASHEET_FIELD 

name of datasheet

MANDATORY_FIELDS 

The first 4 are mandatory, and must be instantiated in SCH_COMPONENT and LIB_PART constructors.

Definition at line 42 of file template_fieldnames.h.

42  {
43  REFERENCE_FIELD = 0,
44  VALUE_FIELD,
47 
51 };
Field Reference of part, i.e. "IC21".
name of datasheet
Field Value of part, i.e. "3.3K".
The first 4 are mandatory, and must be instantiated in SCH_COMPONENT and LIB_PART constructors.
Field Name Module PCB, i.e. "16DIP300".