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 More...
 
iterator operator++ (int)
 post-increment operator More...
 
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 400 of file netinfo.h.

Constructor & Destructor Documentation

◆ iterator()

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

Definition at line 403 of file netinfo.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 432 of file netinfo.h.

References m_iterator.

◆ operator*()

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

Definition at line 422 of file netinfo.h.

References m_iterator.

◆ operator++() [1/2]

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

pre-increment operator

Definition at line 408 of file netinfo.h.

References m_iterator.

◆ operator++() [2/2]

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

post-increment operator

Definition at line 415 of file netinfo.h.

References m_iterator.

◆ operator->()

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

Definition at line 427 of file netinfo.h.

References m_iterator.

◆ operator==()

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

Definition at line 437 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 443 of file netinfo.h.

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


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