Fawkes API
Fawkes Development Version
|
Message iterator for exceptions. More...
#include <>>
Public Member Functions | |
iterator (const iterator &i) | |
Copy constructor. More... | |
iterator () | |
Plain constructor. More... | |
iterator & | operator++ () |
Prefix ++ operator. More... | |
iterator | operator++ (int inc) |
Postfix ++ operator. More... | |
bool | operator== (const iterator &i) const |
Check equality. More... | |
bool | operator!= (const iterator &i) const |
Check inequality. More... | |
const char * | operator* () const |
Get current message. More... | |
iterator & | operator= (const iterator &i) |
Assignment operator. More... | |
Friends | |
class | Exception |
Message iterator for exceptions.
This iterator allows for iterating over all messages carried by an Exception.
Definition at line 72 of file exception.h.
fawkes::Exception::iterator::iterator | ( | const iterator & | i | ) |
fawkes::Exception::iterator::iterator | ( | ) |
Plain constructor.
Creates a new invalid iterator (same as Exception::end()).
Definition at line 737 of file exception.cpp.
Referenced by fawkes::Exception::end().
bool fawkes::Exception::iterator::operator!= | ( | const iterator & | i | ) | const |
Check inequality.
i | iterator to compare to |
Definition at line 796 of file exception.cpp.
const char * fawkes::Exception::iterator::operator* | ( | ) | const |
Get current message.
Get message at current position. Returns NULL for the invalid ieterator.
Definition at line 807 of file exception.cpp.
Exception::iterator & fawkes::Exception::iterator::operator++ | ( | ) |
Prefix ++ operator.
Definition at line 756 of file exception.cpp.
Exception::iterator fawkes::Exception::iterator::operator++ | ( | int | inc | ) |
Postfix ++ operator.
inc | used to denote postfix operator |
Definition at line 770 of file exception.cpp.
Exception::iterator & fawkes::Exception::iterator::operator= | ( | const iterator & | i | ) |
Assignment operator.
i | iterator to assign to this iterator. |
Definition at line 822 of file exception.cpp.
bool fawkes::Exception::iterator::operator== | ( | const iterator & | i | ) | const |
Check equality.
i | iterator to compare to |
Definition at line 785 of file exception.cpp.