KiCad PCB EDA Suite
|
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 (std::map< int, int >::const_iterator aIter, const NETINFO_MAPPING *aMapping) | |
const iterator & | operator++ () |
pre-increment operator | |
iterator | operator++ (int) |
post-increment operator | |
NETINFO_ITEM * | operator* () const |
NETINFO_ITEM * | operator-> () const |
bool | operator!= (const iterator &aOther) const |
bool | operator== (const iterator &aOther) const |
Private Attributes | |
std::map< int, int >::const_iterator | m_iterator |
const NETINFO_MAPPING * | m_mapping |
Wrapper class, so you can iterate through NETINFO_ITEM*s, not std::pair<int/wxString, NETINFO_ITEM*>
|
inline |
Definition at line 235 of file netinfo.h.
References m_iterator, m_mapping, and NETINFO_MAPPING::NETINFO_MAPPING().
Referenced by operator!=(), operator++(), operator++(), and operator==().
|
inline |
Definition at line 261 of file netinfo.h.
References iterator(), and m_iterator.
NETINFO_ITEM * NETINFO_MAPPING::iterator::operator* | ( | ) | const |
Definition at line 336 of file netinfo_list.cpp.
References m_iterator, and m_mapping.
|
inline |
pre-increment operator
Definition at line 241 of file netinfo.h.
References iterator(), and m_iterator.
|
inline |
post-increment operator
Definition at line 249 of file netinfo.h.
References iterator(), and m_iterator.
NETINFO_ITEM * NETINFO_MAPPING::iterator::operator-> | ( | ) | const |
Definition at line 342 of file netinfo_list.cpp.
References m_iterator, and m_mapping.
|
inline |
Definition at line 266 of file netinfo.h.
References iterator(), and m_iterator.
|
private |
Definition at line 272 of file netinfo.h.
Referenced by iterator(), operator!=(), operator*(), operator++(), operator++(), operator->(), and operator==().
|
private |
Definition at line 273 of file netinfo.h.
Referenced by iterator(), operator*(), and operator->().