Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
PointMatcherSupport::FileLogger Struct Reference

#include <LoggerImpl.h>

Inheritance diagram for PointMatcherSupport::FileLogger:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void beginInfoEntry (const char *file, unsigned line, const char *func)
 Start a new entry into the info channel.
virtual void beginWarningEntry (const char *file, unsigned line, const char *func)
 Start a new entry into the warning channel.
 FileLogger (const Parameters &params=Parameters())
virtual void finishInfoEntry (const char *file, unsigned line, const char *func)
 Finish the entry into the info channel.
virtual void finishWarningEntry (const char *file, unsigned line, const char *func)
 Finish the entry into the warning channel.
virtual bool hasInfoChannel () const
 Return whether this logger provides the info channel.
virtual bool hasWarningChannel () const
 Return whether this logger provides the warning channel.
virtual std::ostream * infoStream ()
 Return the info stream, 0 if hasInfoChannel() returns false.
virtual std::ostream * warningStream ()
 Return the warning stream, 0 if hasWarningChannel() returns false.

Static Public Member Functions

static const ParametersDoc availableParameters ()
static const std::string description ()

Public Attributes

const bool displayLocation
const std::string infoFileName
const std::string warningFileName

Protected Attributes

std::ofstream _infoStream
std::ofstream _warningStream

Detailed Description

Definition at line 52 of file LoggerImpl.h.


Constructor & Destructor Documentation

Definition at line 45 of file LoggerImpl.cpp.


Member Function Documentation

Definition at line 58 of file LoggerImpl.h.

void PointMatcherSupport::FileLogger::beginInfoEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Start a new entry into the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 64 of file LoggerImpl.cpp.

void PointMatcherSupport::FileLogger::beginWarningEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Start a new entry into the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 86 of file LoggerImpl.cpp.

static const std::string PointMatcherSupport::FileLogger::description ( ) [inline, static]

Definition at line 54 of file LoggerImpl.h.

void PointMatcherSupport::FileLogger::finishInfoEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Finish the entry into the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 73 of file LoggerImpl.cpp.

void PointMatcherSupport::FileLogger::finishWarningEntry ( const char *  file,
unsigned  line,
const char *  func 
) [virtual]

Finish the entry into the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 95 of file LoggerImpl.cpp.

Return whether this logger provides the info channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 59 of file LoggerImpl.cpp.

Return whether this logger provides the warning channel.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 81 of file LoggerImpl.cpp.

std::ostream * PointMatcherSupport::FileLogger::infoStream ( ) [virtual]

Return the info stream, 0 if hasInfoChannel() returns false.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 68 of file LoggerImpl.cpp.

std::ostream * PointMatcherSupport::FileLogger::warningStream ( ) [virtual]

Return the warning stream, 0 if hasWarningChannel() returns false.

Reimplemented from PointMatcherSupport::Logger.

Definition at line 90 of file LoggerImpl.cpp.


Member Data Documentation

Definition at line 84 of file LoggerImpl.h.

Definition at line 85 of file LoggerImpl.h.

Definition at line 70 of file LoggerImpl.h.

Definition at line 66 of file LoggerImpl.h.

Definition at line 69 of file LoggerImpl.h.


The documentation for this struct was generated from the following files:


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:42