LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
an abstract iterator class used to print out property values More...
#include <PropertyPrinter.h>
Public Member Functions | |
virtual | ~PrinterIter ()=0 |
virtual std::ostream & | write (std::ostream *strm) const =0 |
virtual PrinterIter & | operator++ ()=0 |
virtual PrinterIter & | operator-- ()=0 |
virtual bool | operator== (const PrinterIter &that) const =0 |
virtual bool | operator!= (const PrinterIter &that) const =0 |
virtual bool | notAtEnd () const =0 |
virtual bool | notLTBegin () const =0 |
const std::string | operator* () const |
an abstract iterator class used to print out property values
The main purpose of implementations of this class is to provide (via its write(std::ostream*) function) the means for printing the values. The other functions support iteration.
Definition at line 55 of file PropertyPrinter.h.
|
pure virtual |
|
pure virtual |
return true if this iterator is not pointing just past the last value in the list.
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
pure virtual |
return true if this iterator is not pointing before the first value in the list. Thus, *this should return a legal string.
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
pure virtual |
return true if this iterator is not pointing to the same value as another pointer. This method is not recommend for testing whether an iterator is past the beginning or end of the list; notAtEnd() and notLTBegin() are more efficient.
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
inline |
return a string version of the property value. This simply uses write(std::ostream*) to write to a string; consequently using write(std::ostream*) is more efficient for most purposes.
Definition at line 108 of file PropertyPrinter.h.
|
pure virtual |
move the iterator forward one position
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
pure virtual |
move the iterator backward one position
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
pure virtual |
return true if this iterator is pointing to the same value as another pointer. This method is not recommend for testing whether an iterator is past the beginning or end of the list; notAtEnd() and notLTBegin() are more efficient.
Implemented in lsst::pex::logging::WrappedPrinterIter, lsst::pex::logging::BaseTmplPrinterIter< T >, lsst::pex::logging::BaseTmplPrinterIter< lsst::daf::base::DateTime >, and lsst::pex::logging::BaseTmplPrinterIter< bool >.
|
pure virtual |
write the value pointed to by this iterator to the given stream
Implemented in lsst::pex::logging::BoolPrinterIter, lsst::pex::logging::DateTimePrinterIter, lsst::pex::logging::WrappedPrinterIter, and lsst::pex::logging::TmplPrinterIter< T >.