KiCad PCB EDA Suite
PCB_SHAPE_DESC Struct Reference

Public Member Functions


Detailed Description

Definition at line 398 of file pcb_shape.cpp.

Constructor & Destructor Documentation



Definition at line 400 of file pcb_shape.cpp.

401 {
412 propMgr.ReplaceProperty( TYPE_HASH( BOARD_ITEM ), _HKI( "Layer" ), layerProperty );
413 }
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Definition: board_item.h:58
virtual PCB_LAYER_ID GetLayer() const
Return the primary layer this item is on.
Definition: board_item.h:180
virtual void SetLayer(PCB_LAYER_ID aLayer)
Set the layer this item is on.
Definition: board_item.h:214
Provide class metadata.Helper macro to map type hashes to names.
Definition: property_mgr.h:74
void InheritsAfter(TYPE_ID aDerived, TYPE_ID aBase)
Declare an inheritance relationship between types.
static PROPERTY_MANAGER & Instance()
Definition: property_mgr.h:76
void ReplaceProperty(size_t aBase, const wxString &aName, PROPERTY_BASE *aNew, const wxString &aGroup=wxEmptyString)
Replace an existing property for a specific type.
void AddTypeCast(TYPE_CAST_BASE *aCast)
Register a type converter.
#define _HKI(x)
#define TYPE_HASH(x)
Definition: property.h:62
#define REGISTER_TYPE(x)
Definition: property_mgr.h:328

References _HKI, PROPERTY_MANAGER::AddTypeCast(), BOARD_ITEM::GetLayer(), PROPERTY_MANAGER::InheritsAfter(), PROPERTY_MANAGER::Instance(), REGISTER_TYPE, PROPERTY_MANAGER::ReplaceProperty(), BOARD_ITEM::SetLayer(), and TYPE_HASH.

The documentation for this struct was generated from the following file: