KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FOOTPRINT_FILTER::ITERATOR Class Reference

Inner iterator class returned by begin() and end(). More...

#include <footprint_filter.h>

Inheritance diagram for FOOTPRINT_FILTER::ITERATOR:

Public Member Functions

 ITERATOR ()
 
 ITERATOR (const ITERATOR &aOther)
 
 ITERATOR (FOOTPRINT_FILTER &aFilter)
 

Private Member Functions

void increment ()
 
bool equal (const ITERATOR &aOther) const
 
FOOTPRINT_INFOdereference () const
 
bool FootprintFilterMatch (FOOTPRINT_INFO &aItem)
 Check if the stored component matches an item by footprint filter.
 
bool PinCountMatch (FOOTPRINT_INFO &aItem)
 Check if the stored component matches an item by pin count.
 

Private Attributes

size_t m_pos
 
FOOTPRINT_FILTERm_filter
 

Friends

class boost::iterator_core_access
 
class FOOTPRINT_FILTER
 

Detailed Description

Inner iterator class returned by begin() and end().

Definition at line 83 of file footprint_filter.h.

Constructor & Destructor Documentation

◆ ITERATOR() [1/3]

FOOTPRINT_FILTER::ITERATOR::ITERATOR ( )

Definition at line 28 of file footprint_filter.cpp.

References m_filter, and m_pos.

Referenced by FOOTPRINT_FILTER.

◆ ITERATOR() [2/3]

FOOTPRINT_FILTER::ITERATOR::ITERATOR ( const ITERATOR & aOther)

Definition at line 35 of file footprint_filter.cpp.

References m_filter, and m_pos.

◆ ITERATOR() [3/3]

FOOTPRINT_FILTER::ITERATOR::ITERATOR ( FOOTPRINT_FILTER & aFilter)

Definition at line 42 of file footprint_filter.cpp.

References FOOTPRINT_FILTER, increment(), m_filter, and m_pos.

Member Function Documentation

◆ dereference()

FOOTPRINT_INFO & FOOTPRINT_FILTER_IT::dereference ( ) const
private

Definition at line 119 of file footprint_filter.cpp.

References m_filter, FOOTPRINT_FILTER::m_list, and m_pos.

◆ equal()

bool FOOTPRINT_FILTER_IT::equal ( const ITERATOR & aOther) const
private

Definition at line 112 of file footprint_filter.cpp.

References m_filter, and m_pos.

◆ FootprintFilterMatch()

bool FOOTPRINT_FILTER_IT::FootprintFilterMatch ( FOOTPRINT_INFO & aItem)
private

Check if the stored component matches an item by footprint filter.

Definition at line 128 of file footprint_filter.cpp.

References FOOTPRINT_INFO::GetFootprintName(), FOOTPRINT_INFO::GetLibNickname(), m_filter, and name.

Referenced by increment().

◆ increment()

◆ PinCountMatch()

bool FOOTPRINT_FILTER_IT::PinCountMatch ( FOOTPRINT_INFO & aItem)
private

Check if the stored component matches an item by pin count.

Definition at line 154 of file footprint_filter.cpp.

References FOOTPRINT_INFO::GetUniquePadCount(), and m_filter.

Referenced by increment().

Friends And Related Symbol Documentation

◆ boost::iterator_core_access

friend class boost::iterator_core_access
friend

Definition at line 92 of file footprint_filter.h.

References boost::iterator_core_access.

Referenced by boost::iterator_core_access.

◆ FOOTPRINT_FILTER

friend class FOOTPRINT_FILTER
friend

Definition at line 93 of file footprint_filter.h.

References FOOTPRINT_FILTER, and ITERATOR().

Referenced by FOOTPRINT_FILTER, and ITERATOR().

Member Data Documentation

◆ m_filter

FOOTPRINT_FILTER* FOOTPRINT_FILTER::ITERATOR::m_filter
private

◆ m_pos

size_t FOOTPRINT_FILTER::ITERATOR::m_pos
private

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