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 VECTOR2I &aPosition) | |
DANGLING_END_ITEM (DANGLING_END_T aType, EDA_ITEM *aItem, const VECTOR2I &aPosition, const EDA_ITEM *aParent) | |
bool | operator== (const DANGLING_END_ITEM &aB) const |
bool | operator< (const DANGLING_END_ITEM &rhs) const |
VECTOR2I | GetPosition () const |
EDA_ITEM * | GetItem () const |
const EDA_ITEM * | GetParent () const |
DANGLING_END_T | GetType () const |
Private Attributes | |
EDA_ITEM * | m_item |
VECTOR2I | m_pos |
A pointer to the connectable object. | |
DANGLING_END_T | m_type |
The position of the connection point. | |
const EDA_ITEM * | m_parent |
The type of connection of m_item. | |
Helper class used to store the state of schematic items that can be connected to other schematic items.
Definition at line 94 of file sch_item.h.
|
inline |
|
inline |
|
inline |
Definition at line 129 of file sch_item.h.
References m_item.
Referenced by operator<<(), operator==(), SCH_BUS_WIRE_ENTRY::UpdateDanglingState(), SCH_BUS_BUS_ENTRY::UpdateDanglingState(), SCH_LABEL_BASE::UpdateDanglingState(), and SCH_LINE::UpdateDanglingState().
|
inline |
Definition at line 130 of file sch_item.h.
References m_parent.
Referenced by operator<<(), operator==(), and SCH_SYMBOL::UpdateDanglingState().
|
inline |
Definition at line 128 of file sch_item.h.
References m_pos.
Referenced by operator<<(), operator==(), SCH_BUS_WIRE_ENTRY::UpdateDanglingState(), SCH_BUS_BUS_ENTRY::UpdateDanglingState(), and SCH_LABEL_BASE::UpdateDanglingState().
|
inline |
Definition at line 131 of file sch_item.h.
References m_type.
Referenced by lessType(), operator<<(), operator==(), SCH_BUS_WIRE_ENTRY::UpdateDanglingState(), SCH_BUS_BUS_ENTRY::UpdateDanglingState(), SCH_LABEL_BASE::UpdateDanglingState(), SCH_LINE::UpdateDanglingState(), and SCH_SYMBOL::UpdateDanglingState().
|
inline |
Definition at line 122 of file sch_item.h.
References m_item, m_pos, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inline |
Definition at line 114 of file sch_item.h.
References GetItem(), GetParent(), GetPosition(), and GetType().
|
private |
Definition at line 134 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), GetItem(), and operator<().
|
private |
The type of connection of m_item.
Definition at line 137 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), and GetParent().
|
private |
A pointer to the connectable object.
Definition at line 135 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), GetPosition(), and operator<().
|
private |
The position of the connection point.
Definition at line 136 of file sch_item.h.
Referenced by DANGLING_END_ITEM(), and GetType().