KiCad PCB EDA Suite
CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY Class Reference

Public Member Functions

 ITEM_MAP_ENTRY (CN_ITEM *aItem=nullptr)
 
void MarkItemsAsInvalid ()
 
void Link (CN_ITEM *aItem)
 
const std::list< CN_ITEM * > GetItems () const
 

Public Attributes

std::list< CN_ITEM * > m_items
 

Detailed Description

Definition at line 129 of file connectivity_algo.h.

Constructor & Destructor Documentation

◆ ITEM_MAP_ENTRY()

CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::ITEM_MAP_ENTRY ( CN_ITEM aItem = nullptr)
inline

Definition at line 132 of file connectivity_algo.h.

133  {
134  if( aItem )
135  m_items.push_back( aItem );
136  }
std::list< CN_ITEM * > m_items

References m_items.

Member Function Documentation

◆ GetItems()

const std::list<CN_ITEM*> CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::GetItems ( ) const
inline

Definition at line 151 of file connectivity_algo.h.

152  {
153  return m_items;
154  }
std::list< CN_ITEM * > m_items

References m_items.

◆ Link()

void CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::Link ( CN_ITEM aItem)
inline

Definition at line 146 of file connectivity_algo.h.

147  {
148  m_items.push_back( aItem );
149  }
std::list< CN_ITEM * > m_items

References m_items.

◆ MarkItemsAsInvalid()

void CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::MarkItemsAsInvalid ( )
inline

Definition at line 138 of file connectivity_algo.h.

139  {
140  for( auto item : m_items )
141  {
142  item->SetValid( false );
143  }
144  }
std::list< CN_ITEM * > m_items

References m_items.

Member Data Documentation

◆ m_items

std::list<CN_ITEM*> CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::m_items

Definition at line 156 of file connectivity_algo.h.

Referenced by GetItems(), ITEM_MAP_ENTRY(), Link(), and MarkItemsAsInvalid().


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