![]() |
KiCad PCB EDA Suite
|
Helper class used to store the state of schematic items that can be connected to other schematic items. More...
#include <sch_item.h>
Public Member Functions | |
DANGLING_END_ITEM (DANGLING_END_T aType, EDA_ITEM *aItem, const wxPoint &aPosition) | |
DANGLING_END_ITEM (DANGLING_END_T aType, EDA_ITEM *aItem, const wxPoint &aPosition, const EDA_ITEM *aParent) | |
bool | operator== (const DANGLING_END_ITEM &aB) |
bool | operator!= (const DANGLING_END_ITEM &aB) |
bool | operator< (const DANGLING_END_ITEM &rhs) const |
wxPoint | GetPosition () const |
EDA_ITEM * | GetItem () const |
const EDA_ITEM * | GetParent () const |
DANGLING_END_T | GetType () const |
Private Attributes | |
EDA_ITEM * | m_item |
A pointer to the connectable object. More... | |
wxPoint | m_pos |
The position of the connection point. More... | |
DANGLING_END_T | m_type |
The type of connection of m_item. More... | |
const EDA_ITEM * | m_parent |
A pointer to the parent object (in the case of pins) More... | |
Helper class used to store the state of schematic items that can be connected to other schematic items.
Definition at line 85 of file sch_item.h.
|
inline |
Definition at line 101 of file sch_item.h.
|
inline |
Definition at line 109 of file sch_item.h.
|
inline |
Definition at line 141 of file sch_item.h.
References m_item.
Referenced by operator!=(), operator<<(), operator==(), and SCH_TEXT::UpdateDanglingState().
|
inline |
Definition at line 142 of file sch_item.h.
References m_parent.
Referenced by operator!=(), operator<<(), and operator==().
|
inline |
Definition at line 140 of file sch_item.h.
References m_pos.
Referenced by operator!=(), operator<<(), operator==(), and SCH_TEXT::UpdateDanglingState().
|
inline |
Definition at line 143 of file sch_item.h.
References m_type.
Referenced by operator!=(), operator<<(), operator==(), and SCH_TEXT::UpdateDanglingState().
|
inline |
Definition at line 126 of file sch_item.h.
References GetItem(), GetParent(), GetPosition(), and GetType().
|
inline |
Definition at line 134 of file sch_item.h.
|
inline |
Definition at line 118 of file sch_item.h.
References GetItem(), GetParent(), GetPosition(), and GetType().
|
private |
A pointer to the connectable object.
Definition at line 89 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), GetItem(), and operator<().
|
private |
A pointer to the parent object (in the case of pins)
Definition at line 98 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), and GetParent().
|
private |
The position of the connection point.
Definition at line 92 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), GetPosition(), and operator<().
|
private |
The type of connection of m_item.
Definition at line 95 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), and GetType().