141 bool aIncludeUnit =
false )
const = 0;
144 bool aAllowExtraText )
const = 0;
146 virtual void GetFields( std::vector<SCH_FIELD*>& aVector,
bool aVisibleOnly )
const = 0;
148 virtual std::vector<SCH_PIN*>
GetPins()
const = 0;
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
A logical library item identifier and consists of various portions much like a URI.
SCH_ITEM & operator=(const SCH_ITEM &aPin)
SCH_ITEM(EDA_ITEM *aParent, KICAD_T aType, int aUnit=0, int aBodyStyle=0)
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
SYMBOL(EDA_ITEM *aParent, KICAD_T idType)
bool m_DNP
True if symbol is set to 'Do Not Populate'.
void SetPreviewBodyStyle(int aBodyStyle)
TRANSFORM & GetTransform()
void SetPreviewUnit(int aUnit)
virtual BOX2I GetBodyAndPinsBoundingBox() const =0
Return a bounding box for the symbol body and pins but not the fields.
virtual bool IsGlobalPower() const =0
virtual void GetFields(std::vector< SCH_FIELD * > &aVector, bool aVisibleOnly) const =0
void SetExcludedFromBoard(bool aExcludeFromBoard) override
Set or clear exclude from board netlist flag.
virtual int GetUnitCount() const =0
virtual bool IsLocalPower() const =0
virtual bool HasDeMorganBodyStyles() const =0
virtual const wxString GetRef(const SCH_SHEET_PATH *aSheet, bool aIncludeUnit=false) const =0
void SetTransform(const TRANSFORM &aTransform)
virtual bool IsPower() const =0
virtual void SetShowPinNumbers(bool aShow)
Set or clear the pin number visibility flag.
void SetDNP(bool aDNP) override
const TRANSFORM & GetTransform() const
void SetExcludedFromSim(bool aExcludeFromSim) override
Set or clear the exclude from simulation flag.
int GetPinNameOffset() const
virtual BOX2I GetBodyBoundingBox() const =0
Return a bounding box for the symbol body but not the pins or fields.
virtual void SetShowPinNames(bool aShow)
Set or clear the pin name visibility flag.
virtual bool IsMultiUnit() const =0
bool GetExcludedFromBoard() const override
virtual bool IsNormal() const =0
void SetExcludedFromBOM(bool aExcludeFromBOM) override
Set or clear the exclude from schematic bill of materials flag.
virtual wxString GetDescription() const =0
SYMBOL(const SYMBOL &base)
virtual const wxString GetValue(bool aResolve, const SCH_SHEET_PATH *aPath, bool aAllowExtraText) const =0
virtual std::vector< SCH_PIN * > GetPins() const =0
virtual bool GetShowPinNames() const
~SYMBOL() override=default
void SetPinNameOffset(int aOffset)
Set the offset in mils of the pin name text from the pin symbol.
virtual int GetOrientation() const
virtual int GetBodyStyleCount() const =0
bool GetDNP() const override
Set or clear the 'Do Not Populate' flag.
std::vector< int > ViewGetLayers() const override
Return the layers the item is drawn on (which may be more than its "home" layer)
virtual wxString GetKeyWords() const =0
virtual bool IsMultiBodyStyle() const =0
SYMBOL & operator=(const SYMBOL &aItem)
virtual bool GetShowPinNumbers() const
virtual const LIB_ID & GetLibId() const =0
TRANSFORM m_transform
The rotation/mirror transformation.
bool GetExcludedFromBOM() const override
int m_pinNameOffset
The offset in mils to draw the pin name.
bool GetExcludedFromSim() const override
SYMBOL_ORIENTATION_T
enum used in RotationMiroir()
@ SYM_ROTATE_COUNTERCLOCKWISE
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.