decompiler
1.0.0
|
An iterator over SymbolEntry objects in multiple address spaces. More...
#include <database.hh>
Public Member Functions | |
MapIterator (void) | |
Construct an uninitialized iterator. | |
MapIterator (const vector< EntryMap *> *m, vector< EntryMap *>::const_iterator cm, list< SymbolEntry >::const_iterator ci) | |
Construct iterator at a specific position. More... | |
MapIterator (const MapIterator &op2) | |
Copy constructor. | |
const SymbolEntry * | operator* (void) const |
Return the SymbolEntry being pointed at. | |
MapIterator & | operator++ (void) |
Pre-increment the iterator. More... | |
MapIterator | operator++ (int4 i) |
Post-increment the iterator. More... | |
MapIterator & | operator= (const MapIterator &op2) |
Assignment operator. | |
bool | operator== (const MapIterator &op2) const |
Equality operator. | |
bool | operator!= (const MapIterator &op2) const |
Inequality operator. | |
Private Attributes | |
const vector< EntryMap * > * | map |
The list of EntryMaps, one per address space. | |
vector< EntryMap * >::const_iterator | curmap |
Current EntryMap being iterated. | |
list< SymbolEntry >::const_iterator | curiter |
Current SymbolEntry being iterated. | |
An iterator over SymbolEntry objects in multiple address spaces.
Given an EntryMap (a rangemap of SymbolEntry objects in a single address space) for each address space, iterator over all the SymbolEntry objects
|
inline |
Construct iterator at a specific position.
m | is the list of EntryMaps |
cm | is the position of the iterator within the EntryMap list |
ci | is the position of the iterator within the specific EntryMap |
MapIterator & ghidra::MapIterator::operator++ | ( | void | ) |
Pre-increment the iterator.
The iterator is advanced by one
MapIterator ghidra::MapIterator::operator++ | ( | int4 | i | ) |
Post-increment the iterator.
The iterator is advanced by one
i | is a dummy variable |