casa
$Rev:20696$
|
Class representing an entry in a LoggerHolder. More...
#include <LoggerHolder.h>
Public Member Functions | |
LogHolderIterEntry () | |
LogHolderIterEntry (const LogSink *sink, uInt index) | |
LogHolderIterEntry (const LogHolderIterEntry &that) | |
~LogHolderIterEntry () | |
LogHolderIterEntry & | operator= (const LogHolderIterEntry &that) |
Double | time () const |
Get the message parts. | |
String | message () const |
String | priority () const |
String | location () const |
String | objectID () const |
Private Attributes | |
const LogSink * | itsSink |
uInt | itsIndex |
Class representing an entry in a LoggerHolder.
Internal
This class makes it possible to use the iterator in the STL-style. It only contains a 'pointer' to the current entry in the current logger. Function like time()
can be used to retrieve the message parts.
Definition at line 364 of file LoggerHolder.h.
casa::LogHolderIterEntry::LogHolderIterEntry | ( | ) | [inline] |
Definition at line 367 of file LoggerHolder.h.
casa::LogHolderIterEntry::LogHolderIterEntry | ( | const LogSink * | sink, |
uInt | index | ||
) | [inline] |
Definition at line 370 of file LoggerHolder.h.
casa::LogHolderIterEntry::LogHolderIterEntry | ( | const LogHolderIterEntry & | that | ) | [inline] |
Definition at line 373 of file LoggerHolder.h.
casa::LogHolderIterEntry::~LogHolderIterEntry | ( | ) | [inline] |
Definition at line 376 of file LoggerHolder.h.
String casa::LogHolderIterEntry::location | ( | ) | const [inline] |
Definition at line 390 of file LoggerHolder.h.
References casa::LogSink::getLocation(), itsIndex, and itsSink.
String casa::LogHolderIterEntry::message | ( | ) | const [inline] |
Definition at line 386 of file LoggerHolder.h.
References casa::LogSink::getMessage(), itsIndex, and itsSink.
String casa::LogHolderIterEntry::objectID | ( | ) | const [inline] |
Definition at line 392 of file LoggerHolder.h.
References casa::LogSink::getObjectID(), itsIndex, and itsSink.
LogHolderIterEntry& casa::LogHolderIterEntry::operator= | ( | const LogHolderIterEntry & | that | ) | [inline] |
Definition at line 379 of file LoggerHolder.h.
String casa::LogHolderIterEntry::priority | ( | ) | const [inline] |
Definition at line 388 of file LoggerHolder.h.
References casa::LogSink::getPriority(), itsIndex, and itsSink.
Double casa::LogHolderIterEntry::time | ( | ) | const [inline] |
Get the message parts.
Definition at line 384 of file LoggerHolder.h.
References casa::LogSink::getTime(), itsIndex, and itsSink.
uInt casa::LogHolderIterEntry::itsIndex [private] |
Definition at line 398 of file LoggerHolder.h.
Referenced by location(), message(), objectID(), operator=(), priority(), and time().
const LogSink* casa::LogHolderIterEntry::itsSink [private] |
Definition at line 397 of file LoggerHolder.h.
Referenced by location(), message(), objectID(), operator=(), priority(), and time().