Class cowboys::GPAgentRegisters::iterator
ClassList > cowboys > GPAgentRegisters > iterator
Iterator class for GPAgentRegisters TODO: Just pass in the vector Iterator.
#include <GPAgentsRegisters.hpp>
Public Functions
Type | Name |
---|---|
iterator (size_t index, GPAgentRegisters & regs) |
|
bool | operator!= (const iterator & other) const Overload not equal operator. |
size_t & | operator* () |
iterator & | operator++ () |
bool | operator== (const iterator & other) const Overload post-increment operator. |
Public Functions Documentation
function iterator
inline cowboys::GPAgentRegisters::iterator::iterator (
size_t index,
GPAgentRegisters & regs
)
Constructor for iterator
Parameters:
index
regs
function operator!=
Overload not equal operator.
inline bool cowboys::GPAgentRegisters::iterator::operator!= (
const iterator & other
) const
Parameters:
other
Returns:
function operator*
inline size_t & cowboys::GPAgentRegisters::iterator::operator* ()
Overload dereference operator
Returns:
function operator++
inline iterator & cowboys::GPAgentRegisters::iterator::operator++ ()
Overload pre-increment operator
Returns:
function operator==
Overload post-increment operator.
inline bool cowboys::GPAgentRegisters::iterator::operator== (
const iterator & other
) const
Parameters:
other
Returns:
The documentation for this class was generated from the following file source/Agents/GP/GPAgentsRegisters.hpp