40    void Serialize( google::protobuf::Any &aContainer ) 
const override;
 
   41    bool Deserialize( 
const google::protobuf::Any &aContainer ) 
override;
 
   48    wxString 
GetClass()
 const override { 
return wxT( 
"PCB_FIELD" ); }
 
   50    bool IsType( 
const std::vector<KICAD_T>& aScanTypes )
 const override 
   55        for( 
KICAD_T scanType : aScanTypes )
 
 
  100    wxString 
GetName( 
bool aUseDefaultName = 
true ) 
const;
 
 
Container for design settings for a BOARD object.
 
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
 
A base class for most all the KiCad significant classes used in schematics and boards.
 
KICAD_T Type() const
Returns the type of object.
 
virtual bool IsType(const std::vector< KICAD_T > &aScanTypes) const
Check whether the item is one of the listed types.
 
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
void SetOrdinal(int aOrdinal)
 
bool operator==(const PCB_FIELD &aOther) const
 
PCB_FIELD(FOOTPRINT *aParent, FIELD_T aFieldId, const wxString &aName=wxEmptyString)
 
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
 
wxString GetTextTypeDescription() const override
 
bool Matches(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const override
Compare the item against the search criteria in aSearchData.
 
wxString GetName(bool aUseDefaultName=true) const
Return the field name (not translated).
 
bool IsComponentClass() const
 
void Serialize(google::protobuf::Any &aContainer) const override
Serializes this object to the given Any message.
 
int m_ordinal
Sort order for non-mandatory fields.
 
wxString GetCanonicalName() const
Get a non-language-specific name for a field which can be used for storage, variable look-up,...
 
void SetName(const wxString &aName)
 
void swapData(BOARD_ITEM *aImage) override
 
double Similarity(const BOARD_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
 
static bool ClassOf(const EDA_ITEM *aItem)
 
wxString GetClass() const override
Return the class name.
 
bool Deserialize(const google::protobuf::Any &aContainer) override
Deserializes the given protobuf message into this object.
 
PCB_FIELD * CloneField() const
Same as Clone, but returns a PCB_FIELD item.
 
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
 
double ViewGetLOD(int aLayer, const KIGFX::VIEW *aView) const override
Return the level of detail (LOD) of the item.
 
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
 
PCB_TEXT(BOARD_ITEM *parent, KICAD_T idtype=PCB_TEXT_T)
 
FIELD_T
The set of all field indices assuming an array like sequence that a SCH_COMPONENT or LIB_PART can hol...
 
@ USER
The field ID hasn't been set yet; field is invalid.
 
@ DATASHEET
name of datasheet
 
@ REFERENCE
Field Reference of part, i.e. "IC21".
 
@ VALUE
Field Value of part, i.e. "3.3K".
 
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
 
@ PCB_FIELD_LOCATE_VALUE_T
 
@ PCB_FIELD_T
class PCB_FIELD, text associated with a footprint property
 
@ PCB_FIELD_LOCATE_REFERENCE_T
 
@ PCB_FIELD_LOCATE_DATASHEET_T