casa
5.7.0-16
|
Class to iterate through an LoggerHolder. More...
#include <LoggerHolder.h>
Public Member Functions | |
LoggerHolderIterator () | |
LoggerHolderIterator (const LoggerHolder *) | |
LoggerHolderIterator (const LoggerHolderIterator &) | |
~LoggerHolderIterator () | |
LoggerHolderIterator & | operator= (const LoggerHolderIterator &) |
void | operator++ () |
Increment to next message. More... | |
void | operator++ (int) |
Bool | operator!= (const LoggerHolderIterator &) |
Is the iterator not at the end yet? More... | |
const LogHolderIterEntry & | operator* () const |
Get the entry. More... | |
const LogHolderIterEntry * | operator-> () const |
const LoggerHolder & | logger () const |
Private Member Functions | |
void | next () |
Get the next entry (if available). More... | |
Private Attributes | |
LogHolderIter * | itsIter |
Bool | itsNotAtEnd |
Class to iterate through an LoggerHolder.
Public interface
This class makes it possible to iterate in the STL-style through all entries of an LoggerHolder object. If the logger has parent LoggerHolder objects, it first iterates through all parents (recursively) and finally through all entries in the LoggerHolder object itself.
Definition at line 496 of file LoggerHolder.h.
|
inline |
Definition at line 499 of file LoggerHolder.h.
casacore::LoggerHolderIterator::LoggerHolderIterator | ( | const LoggerHolder * | ) |
casacore::LoggerHolderIterator::LoggerHolderIterator | ( | const LoggerHolderIterator & | ) |
|
inline |
Definition at line 506 of file LoggerHolder.h.
References itsIter.
|
inline |
Definition at line 531 of file LoggerHolder.h.
References itsIter, and casacore::LogHolderIter::logger().
|
inlineprivate |
Get the next entry (if available).
Definition at line 536 of file LoggerHolder.h.
References itsIter, itsNotAtEnd, and casacore::LogHolderIter::next().
Referenced by operator++().
|
inline |
Is the iterator not at the end yet?
Definition at line 520 of file LoggerHolder.h.
References itsNotAtEnd.
|
inline |
Get the entry.
Definition at line 525 of file LoggerHolder.h.
References casacore::LogHolderIter::getEntry(), and itsIter.
|
inline |
|
inline |
Definition at line 515 of file LoggerHolder.h.
References next().
|
inline |
Definition at line 527 of file LoggerHolder.h.
References casacore::LogHolderIter::getEntry(), and itsIter.
LoggerHolderIterator& casacore::LoggerHolderIterator::operator= | ( | const LoggerHolderIterator & | ) |
|
private |
Definition at line 540 of file LoggerHolder.h.
Referenced by logger(), next(), operator*(), operator->(), and ~LoggerHolderIterator().
|
private |
Definition at line 541 of file LoggerHolder.h.
Referenced by next(), and operator!=().