134 bool aIncludeUnit =
false )
const = 0;
137 bool aAllowExtraText )
const = 0;
139 virtual void GetFields( std::vector<SCH_FIELD*>& aVector,
bool aVisibleOnly ) = 0;
141 virtual std::vector<SCH_PIN*>
GetPins()
const = 0;
A base class for most all the KiCad significant classes used in schematics and boards.
A logical library item identifier and consists of various portions much like a URI.
Base class for any item which can be embedded within the SCHEMATIC container class,...
SCH_ITEM & operator=(const SCH_ITEM &aPin)
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
A base class for LIB_SYMBOL and SCH_SYMBOL.
SYMBOL(EDA_ITEM *aParent, KICAD_T idType)
bool m_DNP
True if symbol is set to 'Do Not Populate'.
virtual void GetFields(std::vector< SCH_FIELD * > &aVector, bool aVisibleOnly)=0
void SetPreviewBodyStyle(int aBodyStyle)
TRANSFORM & GetTransform()
void SetPreviewUnit(int aUnit)
virtual bool IsMulti() const =0
virtual BOX2I GetBodyAndPinsBoundingBox() const =0
Return a bounding box for the symbol body and pins but not the fields.
bool GetExcludedFromBoard() const
virtual int GetUnitCount() 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.
bool GetExcludedFromBOM() const
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 IsNormal() const =0
virtual wxString GetDescription() const =0
SYMBOL(const SYMBOL &base)
virtual const wxString GetValue(bool aResolve, const SCH_SHEET_PATH *aPath, bool aAllowExtraText) const =0
bool GetDNP() const
Set or clear the 'Do Not Populate' flag.
virtual std::vector< SCH_PIN * > GetPins() const =0
virtual bool GetShowPinNames() const
void SetExcludedFromBOM(bool aExcludeFromBOM)
Set or clear the exclude from schematic bill of materials flag.
void SetPinNameOffset(int aOffset)
Set the offset in mils of the pin name text from the pin symbol.
virtual int GetOrientation() const
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
SYMBOL & operator=(const SYMBOL &aItem)
void SetExcludedFromBoard(bool aExcludeFromBoard)
Set or clear exclude from board netlist flag.
virtual bool GetShowPinNumbers() const
virtual const LIB_ID & GetLibId() const =0
TRANSFORM m_transform
The rotation/mirror transformation.
virtual bool HasAlternateBodyStyle() const =0
Test if symbol has more than one body conversion type (DeMorgan).
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.