KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NETINFO_LIST::iterator Class Reference

Wrapper class, so you can iterate through NETINFO_ITEM*s, not std::pair<int/wxString, NETINFO_ITEM*> More...

#include <netinfo.h>

Public Member Functions

 iterator (NETNAMES_MAP::const_iterator aIter)
 
const iteratoroperator++ ()
 pre-increment operator
 
iterator operator++ (int)
 post-increment operator
 
NETINFO_ITEMoperator* () const
 
NETINFO_ITEMoperator-> () const
 
bool operator!= (const iterator &aOther) const
 
bool operator== (const iterator &aOther) const
 

Private Attributes

NETNAMES_MAP::const_iterator m_iterator
 

Detailed Description

Wrapper class, so you can iterate through NETINFO_ITEM*s, not std::pair<int/wxString, NETINFO_ITEM*>

Definition at line 406 of file netinfo.h.

Constructor & Destructor Documentation

◆ iterator()

NETINFO_LIST::iterator::iterator ( NETNAMES_MAP::const_iterator  aIter)
inline

Definition at line 409 of file netinfo.h.

Member Function Documentation

◆ operator!=()

bool NETINFO_LIST::iterator::operator!= ( const iterator aOther) const
inline

Definition at line 438 of file netinfo.h.

References m_iterator.

◆ operator*()

NETINFO_ITEM * NETINFO_LIST::iterator::operator* ( ) const
inline

Definition at line 428 of file netinfo.h.

References m_iterator.

◆ operator++() [1/2]

const iterator & NETINFO_LIST::iterator::operator++ ( )
inline

pre-increment operator

Definition at line 414 of file netinfo.h.

References m_iterator.

◆ operator++() [2/2]

iterator NETINFO_LIST::iterator::operator++ ( int  )
inline

post-increment operator

Definition at line 421 of file netinfo.h.

References m_iterator.

◆ operator->()

NETINFO_ITEM * NETINFO_LIST::iterator::operator-> ( ) const
inline

Definition at line 433 of file netinfo.h.

References m_iterator.

◆ operator==()

bool NETINFO_LIST::iterator::operator== ( const iterator aOther) const
inline

Definition at line 443 of file netinfo.h.

References m_iterator.

Member Data Documentation

◆ m_iterator

NETNAMES_MAP::const_iterator NETINFO_LIST::iterator::m_iterator
private

Definition at line 449 of file netinfo.h.

Referenced by operator!=(), operator*(), operator++(), operator->(), and operator==().


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