KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CN_CLUSTER Class Reference

#include <connectivity_items.h>

Public Member Functions

 CN_CLUSTER ()
 
 ~CN_CLUSTER ()
 
bool HasValidNet () const
 
int OriginNet () const
 
wxString OriginNetName () const
 
bool Contains (const CN_ITEM *aItem)
 
bool Contains (const BOARD_CONNECTED_ITEM *aItem)
 
void Dump ()
 
int Size () const
 
bool IsOrphaned () const
 
bool IsConflicting () const
 
void Add (CN_ITEM *item)
 
std::vector< CN_ITEM * >::iterator begin ()
 
std::vector< CN_ITEM * >::iterator end ()
 

Private Attributes

bool m_conflicting
 
int m_originNet
 
CN_ITEMm_originPad
 
std::vector< CN_ITEM * > m_items
 
std::unordered_map< int, int > m_netRanks
 

Detailed Description

Definition at line 478 of file connectivity_items.h.

Constructor & Destructor Documentation

◆ CN_CLUSTER()

CN_CLUSTER::CN_CLUSTER ( )

Definition at line 405 of file connectivity_items.cpp.

References m_conflicting, m_items, m_originNet, and m_originPad.

◆ ~CN_CLUSTER()

CN_CLUSTER::~CN_CLUSTER ( )

Definition at line 414 of file connectivity_items.cpp.

Member Function Documentation

◆ Add()

◆ begin()

std::vector< CN_ITEM * >::iterator CN_CLUSTER::begin ( )
inline

Definition at line 504 of file connectivity_items.h.

References m_items.

◆ Contains() [1/2]

bool CN_CLUSTER::Contains ( const BOARD_CONNECTED_ITEM aItem)

Definition at line 434 of file connectivity_items.cpp.

References m_items.

◆ Contains() [2/2]

bool CN_CLUSTER::Contains ( const CN_ITEM aItem)

Definition at line 428 of file connectivity_items.cpp.

References alg::contains(), and m_items.

◆ Dump()

void CN_CLUSTER::Dump ( )

Definition at line 444 of file connectivity_items.cpp.

References m_items.

◆ end()

std::vector< CN_ITEM * >::iterator CN_CLUSTER::end ( )
inline

Definition at line 505 of file connectivity_items.h.

References m_items.

◆ HasValidNet()

bool CN_CLUSTER::HasValidNet ( ) const
inline

Definition at line 484 of file connectivity_items.h.

References m_originNet.

◆ IsConflicting()

bool CN_CLUSTER::IsConflicting ( ) const
inline

Definition at line 500 of file connectivity_items.h.

References m_conflicting.

◆ IsOrphaned()

bool CN_CLUSTER::IsOrphaned ( ) const
inline

Definition at line 495 of file connectivity_items.h.

References m_originPad.

◆ OriginNet()

int CN_CLUSTER::OriginNet ( ) const
inline

Definition at line 485 of file connectivity_items.h.

References m_originNet.

◆ OriginNetName()

wxString CN_CLUSTER::OriginNetName ( ) const

◆ Size()

int CN_CLUSTER::Size ( ) const
inline

Definition at line 493 of file connectivity_items.h.

References m_items.

Member Data Documentation

◆ m_conflicting

bool CN_CLUSTER::m_conflicting
private

Definition at line 508 of file connectivity_items.h.

Referenced by Add(), CN_CLUSTER(), and IsConflicting().

◆ m_items

std::vector<CN_ITEM*> CN_CLUSTER::m_items
private

Definition at line 511 of file connectivity_items.h.

Referenced by Add(), begin(), CN_CLUSTER(), Contains(), Dump(), end(), and Size().

◆ m_netRanks

std::unordered_map<int, int> CN_CLUSTER::m_netRanks
private

Definition at line 512 of file connectivity_items.h.

Referenced by Add().

◆ m_originNet

int CN_CLUSTER::m_originNet
private

Definition at line 509 of file connectivity_items.h.

Referenced by Add(), CN_CLUSTER(), HasValidNet(), and OriginNet().

◆ m_originPad

CN_ITEM* CN_CLUSTER::m_originPad
private

Definition at line 510 of file connectivity_items.h.

Referenced by Add(), CN_CLUSTER(), IsOrphaned(), and OriginNetName().


The documentation for this class was generated from the following files: