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 116 of file connectivity_algo.h.

Constructor & Destructor Documentation

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

Definition at line 119 of file connectivity_algo.h.

120  {
121  if( aItem )
122  m_items.push_back( aItem );
123  }
std::list< CN_ITEM * > m_items

Member Function Documentation

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

Definition at line 138 of file connectivity_algo.h.

139  {
140  return m_items;
141  }
std::list< CN_ITEM * > m_items
void CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::Link ( CN_ITEM aItem)
inline

Definition at line 133 of file connectivity_algo.h.

134  {
135  m_items.push_back( aItem );
136  }
std::list< CN_ITEM * > m_items
void CN_CONNECTIVITY_ALGO::ITEM_MAP_ENTRY::MarkItemsAsInvalid ( )
inline

Definition at line 125 of file connectivity_algo.h.

126  {
127  for( auto item : m_items )
128  {
129  item->SetValid( false );
130  }
131  }
std::list< CN_ITEM * > m_items

Member Data Documentation

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

Definition at line 143 of file connectivity_algo.h.


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