KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR Class Reference

#include <allegro_db_utils.h>

Public Member Functions

 ITERATOR ()=default
 End sentinel.
 
 ITERATOR (LL_WALKER::ITERATOR aCurrent, MISMATCH_POLICY aPolicy, const MISMATCH_REPORTER *aReporter)
 
const Toperator* () const
 
const Toperator-> () const
 
size_t GetBlockOffset () const
 File offset of the current underlying block (for diagnostics).
 
ITERATORoperator++ ()
 

Private Member Functions

void skipMismatches ()
 

Private Attributes

LL_WALKER::ITERATOR m_baseIter
 
MISMATCH_POLICY m_policy = MISMATCH_POLICY::SKIP
 
const MISMATCH_REPORTERm_reporter = nullptr
 

Friends

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

Detailed Description

template<ALLEGRO_BLOCK_DATA T>
class ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR

Definition at line 306 of file allegro_db_utils.h.

Constructor & Destructor Documentation

◆ ITERATOR() [1/2]

template<ALLEGRO_BLOCK_DATA T>
ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::ITERATOR ( )
default

End sentinel.

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

◆ ITERATOR() [2/2]

template<ALLEGRO_BLOCK_DATA T>
ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::ITERATOR ( LL_WALKER::ITERATOR aCurrent,
MISMATCH_POLICY aPolicy,
const MISMATCH_REPORTER * aReporter )
inline

Definition at line 312 of file allegro_db_utils.h.

References m_baseIter, m_policy, m_reporter, and skipMismatches().

Member Function Documentation

◆ GetBlockOffset()

template<ALLEGRO_BLOCK_DATA T>
size_t ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::GetBlockOffset ( ) const
inline

File offset of the current underlying block (for diagnostics).

Definition at line 324 of file allegro_db_utils.h.

◆ operator*()

template<ALLEGRO_BLOCK_DATA T>
const T & ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::operator* ( ) const
inline

Definition at line 320 of file allegro_db_utils.h.

References ALLEGRO::BlockDataAs(), m_baseIter, and T.

◆ operator++()

template<ALLEGRO_BLOCK_DATA T>
ITERATOR & ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::operator++ ( )
inline

Definition at line 326 of file allegro_db_utils.h.

References ITERATOR(), m_baseIter, and skipMismatches().

◆ operator->()

template<ALLEGRO_BLOCK_DATA T>
const T * ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::operator-> ( ) const
inline

Definition at line 321 of file allegro_db_utils.h.

References ALLEGRO::BlockDataAs(), m_baseIter, and T.

◆ skipMismatches()

template<ALLEGRO_BLOCK_DATA T>
void ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::skipMismatches ( )
inlineprivate

Friends And Related Symbol Documentation

◆ operator==

template<ALLEGRO_BLOCK_DATA T>
bool operator== ( const ITERATOR & aLhs,
const ITERATOR & aRhs )
friend

Definition at line 333 of file allegro_db_utils.h.

References ITERATOR(), and m_baseIter.

Member Data Documentation

◆ m_baseIter

template<ALLEGRO_BLOCK_DATA T>
LL_WALKER::ITERATOR ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::m_baseIter
private

◆ m_policy

template<ALLEGRO_BLOCK_DATA T>
MISMATCH_POLICY ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::m_policy = MISMATCH_POLICY::SKIP
private

Definition at line 378 of file allegro_db_utils.h.

Referenced by ITERATOR(), and skipMismatches().

◆ m_reporter

template<ALLEGRO_BLOCK_DATA T>
const MISMATCH_REPORTER* ALLEGRO::TYPED_LL_WALKER< T >::ITERATOR::m_reporter = nullptr
private

Definition at line 379 of file allegro_db_utils.h.

Referenced by ITERATOR(), and skipMismatches().


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