casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::LogHolderIter Class Reference

Class doing the actual iteration through an LoggerHolder. More...

#include <LoggerHolder.h>

Public Member Functions

 LogHolderIter (const LoggerHolder *)
 Construct the iterator on the given LoggerHolderRep. More...
 
 ~LogHolderIter ()
 
Bool next ()
 Increment to next message. More...
 
const LogHolderIterEntrygetEntry () const
 Get the entry. More...
 
const LoggerHolderlogger () const
 

Private Member Functions

 LogHolderIter (const LogHolderIter &)
 Copy constructor is not needed, thus forbidden. More...
 
LogHolderIteroperator= (const LogHolderIter &)
 Assignment is not needed, thus forbidden. More...
 

Private Attributes

const LoggerHolderitsLogger
 
Bool itsTempClosed
 
LogHolderIteritsParentIter
 
uInt itsCounter
 
LogHolderIterEntry itsEntry
 

Detailed Description

Class doing the actual iteration through an LoggerHolder.

Intended use:

Internal

Review Status

Test programs:
tLoggerHolder

Prerequisite

Synopsis

This class makes it possible to use the iterator in the STL-style. It is used by LoggerHolderIterator which is the class as seen by the user. LogHolderIter makes it easier to make the first entry available on construction of an LoggerHolderIterator.

Definition at line 427 of file LoggerHolder.h.

Constructor & Destructor Documentation

casacore::LogHolderIter::LogHolderIter ( const LoggerHolder )

Construct the iterator on the given LoggerHolderRep.

casacore::LogHolderIter::~LogHolderIter ( )
casacore::LogHolderIter::LogHolderIter ( const LogHolderIter )
private

Copy constructor is not needed, thus forbidden.

Member Function Documentation

const LogHolderIterEntry& casacore::LogHolderIter::getEntry ( ) const
inline

Get the entry.

Definition at line 440 of file LoggerHolder.h.

References itsEntry.

Referenced by casacore::LoggerHolderIterator::operator*(), and casacore::LoggerHolderIterator::operator->().

const LoggerHolder& casacore::LogHolderIter::logger ( ) const
inline

Definition at line 443 of file LoggerHolder.h.

References itsLogger.

Referenced by casacore::LoggerHolderIterator::logger().

Bool casacore::LogHolderIter::next ( )

Increment to next message.

Returns False if at the end.

Referenced by casacore::LoggerHolderIterator::next().

LogHolderIter& casacore::LogHolderIter::operator= ( const LogHolderIter )
private

Assignment is not needed, thus forbidden.

Member Data Documentation

uInt casacore::LogHolderIter::itsCounter
private

Definition at line 457 of file LoggerHolder.h.

LogHolderIterEntry casacore::LogHolderIter::itsEntry
private

Definition at line 458 of file LoggerHolder.h.

Referenced by getEntry().

const LoggerHolder* casacore::LogHolderIter::itsLogger
private

Definition at line 454 of file LoggerHolder.h.

Referenced by logger().

LogHolderIter* casacore::LogHolderIter::itsParentIter
private

Definition at line 456 of file LoggerHolder.h.

Bool casacore::LogHolderIter::itsTempClosed
private

Definition at line 455 of file LoggerHolder.h.


The documentation for this class was generated from the following file: