143                                   bool aIncludeUnit = 
false ) 
const = 0;
 
  146                                     bool aAllowExtraText ) 
const = 0;
 
  148    virtual void GetFields( std::vector<SCH_FIELD*>& aVector, 
bool aVisibleOnly ) 
const = 0;
 
  150    virtual std::vector<SCH_PIN*> 
GetPins() 
const = 0;
 
  178                                     const wxString& aVariantName = wxEmptyString )
 override 
 
  184                                     const wxString& aVariantName = wxEmptyString )
 const override 
 
  193                             const wxString& aVariantName = wxEmptyString )
 override 
 
  199                                     const wxString& aVariantName = wxEmptyString )
 const override 
 
  214                         const wxString& aVariantName = wxEmptyString )
 const override { 
return m_DNP; }
 
 
  216                         const wxString& aVariantName = wxEmptyString )
 override { 
m_DNP = aDNP; }
 
 
 
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 bool GetDNP(const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) const override
Set or clear the 'Do Not Populate' flag.
 
virtual void SetShowPinNumbers(bool aShow)
Set or clear the pin number visibility flag.
 
const TRANSFORM & GetTransform() const
 
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
 
virtual wxString GetDescription() const =0
 
virtual void SetExcludedFromSim(bool aExcludeFromSim, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
Set or clear the exclude from simulation flag.
 
SYMBOL(const SYMBOL &base)
 
virtual const wxString GetValue(bool aResolve, const SCH_SHEET_PATH *aPath, bool aAllowExtraText) const =0
 
virtual wxString GetShownKeyWords(int aDepth=0) const =0
 
virtual bool GetExcludedFromBOM(const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) const override
 
virtual void SetDNP(bool aDNP, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
 
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 wxString GetShownDescription(int aDepth=0) const =0
 
virtual int GetOrientation() const
 
virtual int GetBodyStyleCount() const =0
 
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
 
virtual bool GetExcludedFromSim(const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) const override
 
SYMBOL & operator=(const SYMBOL &aItem)
 
virtual bool GetShowPinNumbers() const
 
virtual const LIB_ID & GetLibId() const =0
 
virtual void SetExcludedFromBOM(bool aExcludeFromBOM, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
Set or clear the exclude from schematic bill of materials flag.
 
TRANSFORM m_transform
The rotation/mirror transformation.
 
int m_pinNameOffset
The offset in mils to draw the pin name.
 
SYMBOL_ORIENTATION_T
enum used in RotationMiroir()
 
@ SYM_ROTATE_COUNTERCLOCKWISE
 
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.