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

#include <allegro_db_utils.h>

Public Member Functions

 ITERATOR ()
 Usually constructed as an end-of-list sentinel.
 
 ITERATOR (uint32_t aCurrent, uint32_t aTail, const BRD_DB &aBoard, const NEXT_FUNC_T &aNextFunc)
 Actual object ITERATOR.
 
const BLOCK_BASEoperator* () const
 
ITERATORoperator++ ()
 

Private Attributes

uint32_t m_current
 
const BLOCK_BASEm_currBlock
 
uint32_t m_tail
 
const BRD_DBm_board
 
const NEXT_FUNC_Tm_nextFunc
 
std::unordered_set< uint32_t > m_visited
 

Friends

bool operator== (const ITERATOR &aLhs, const ITERATOR &aRhs)
 

Detailed Description

Definition at line 149 of file allegro_db_utils.h.

Constructor & Destructor Documentation

◆ ITERATOR() [1/2]

ALLEGRO::LL_WALKER::ITERATOR::ITERATOR ( )
inline

Usually constructed as an end-of-list sentinel.

Definition at line 155 of file allegro_db_utils.h.

References m_board, m_currBlock, m_current, m_nextFunc, and m_tail.

Referenced by operator++(), and operator==.

◆ ITERATOR() [2/2]

ALLEGRO::LL_WALKER::ITERATOR::ITERATOR ( uint32_t aCurrent,
uint32_t aTail,
const BRD_DB & aBoard,
const NEXT_FUNC_T & aNextFunc )
inline

Actual object ITERATOR.

Definition at line 167 of file allegro_db_utils.h.

References m_board, m_currBlock, m_current, m_nextFunc, m_tail, and m_visited.

Member Function Documentation

◆ operator*()

const BLOCK_BASE * ALLEGRO::LL_WALKER::ITERATOR::operator* ( ) const
inline

Definition at line 182 of file allegro_db_utils.h.

References m_currBlock.

◆ operator++()

ITERATOR & ALLEGRO::LL_WALKER::ITERATOR::operator++ ( )
inline

Definition at line 187 of file allegro_db_utils.h.

References ITERATOR(), m_board, m_currBlock, m_current, m_tail, m_visited, and THROW_IO_ERROR.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const ITERATOR & aLhs,
const ITERATOR & aRhs )
friend

Definition at line 217 of file allegro_db_utils.h.

References ITERATOR(), and m_current.

Member Data Documentation

◆ m_board

const BRD_DB* ALLEGRO::LL_WALKER::ITERATOR::m_board
private

Definition at line 226 of file allegro_db_utils.h.

Referenced by ITERATOR(), ITERATOR(), and operator++().

◆ m_currBlock

const BLOCK_BASE* ALLEGRO::LL_WALKER::ITERATOR::m_currBlock
private

Definition at line 224 of file allegro_db_utils.h.

Referenced by ITERATOR(), ITERATOR(), operator*(), and operator++().

◆ m_current

uint32_t ALLEGRO::LL_WALKER::ITERATOR::m_current
private

Definition at line 223 of file allegro_db_utils.h.

Referenced by ITERATOR(), ITERATOR(), operator++(), and operator==.

◆ m_nextFunc

const NEXT_FUNC_T* ALLEGRO::LL_WALKER::ITERATOR::m_nextFunc
private

Definition at line 227 of file allegro_db_utils.h.

Referenced by ITERATOR(), and ITERATOR().

◆ m_tail

uint32_t ALLEGRO::LL_WALKER::ITERATOR::m_tail
private

Definition at line 225 of file allegro_db_utils.h.

Referenced by ITERATOR(), ITERATOR(), and operator++().

◆ m_visited

std::unordered_set<uint32_t> ALLEGRO::LL_WALKER::ITERATOR::m_visited
private

Definition at line 228 of file allegro_db_utils.h.

Referenced by ITERATOR(), and operator++().


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