The logger interface, used to output warnings and informations. More...
#include <PointMatcher.h>

| Public Member Functions | |
| virtual void | beginInfoEntry (const char *file, unsigned line, const char *func) | 
| Start a new entry into the info channel.  More... | |
| virtual void | beginWarningEntry (const char *file, unsigned line, const char *func) | 
| Start a new entry into the warning channel.  More... | |
| virtual void | finishInfoEntry (const char *file, unsigned line, const char *func) | 
| Finish the entry into the info channel.  More... | |
| virtual void | finishWarningEntry (const char *file, unsigned line, const char *func) | 
| Finish the entry into the warning channel.  More... | |
| virtual bool | hasInfoChannel () const | 
| Return whether this logger provides the info channel.  More... | |
| virtual bool | hasWarningChannel () const | 
| Return whether this logger provides the warning channel.  More... | |
| virtual std::ostream * | infoStream () | 
| Return the info stream, 0 if hasInfoChannel() returns false.  More... | |
| Logger () | |
| Construct without parameter.  More... | |
| Logger (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with parameters.  More... | |
| virtual std::ostream * | warningStream () | 
| Return the warning stream, 0 if hasWarningChannel() returns false.  More... | |
| virtual | ~Logger () | 
| Virtual destructor, do nothing.  More... | |
|  Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| S | get (const std::string ¶mName) | 
| Return the value of paramName, lexically-casted to S.  More... | |
| std::string | getParamValueString (const std::string ¶mName) | 
| Get the value of a parameter, as a string.  More... | |
| Parametrizable () | |
| Construct a documentation of parameters from a description in the source.  More... | |
| Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
| Construct with documented parameters.  More... | |
| virtual | ~Parametrizable () | 
| Virtual destructor, do nothing.  More... | |
| Additional Inherited Members | |
|  Public Types inherited from PointMatcherSupport::Parametrizable | |
| typedef bool(* | LexicalComparison) (std::string a, std::string b) | 
| A function that returns whether a is smaller than b.  More... | |
| typedef std::string | Parameter | 
| alias  More... | |
| typedef std::map< std::string, Parameter > | Parameters | 
| Parameters stored as a map of string->string.  More... | |
| typedef std::vector< ParameterDoc > | ParametersDoc | 
| The documentation of all parameters.  More... | |
| typedef std::set< std::string > | ParametersUsed | 
| Parameters whose value has been read.  More... | |
|  Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
| template<typename S > | |
| static bool | Comp (std::string a, std::string b) | 
| Return whether a < b, lexically casted to S.  More... | |
|  Public Attributes inherited from PointMatcherSupport::Parametrizable | |
| const std::string | className | 
| name of the class  More... | |
| Parameters | parameters | 
| parameters with their values encoded in string  More... | |
| const ParametersDoc | parametersDoc | 
| documentation of parameters  More... | |
| ParametersUsed | parametersUsed | 
| parameters whose value has actually been read  More... | |
The logger interface, used to output warnings and informations.
Definition at line 104 of file PointMatcher.h.
| PointMatcherSupport::Logger::Logger | ( | ) | 
Construct without parameter.
Definition at line 45 of file Logger.cpp.
| PointMatcherSupport::Logger::Logger | ( | const std::string & | className, | 
| const ParametersDoc | paramsDoc, | ||
| const Parameters & | params | ||
| ) | 
Construct with parameters.
Definition at line 49 of file Logger.cpp.
| 
 | virtual | 
Virtual destructor, do nothing.
Definition at line 54 of file Logger.cpp.
| 
 | virtual | 
Start a new entry into the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 64 of file Logger.cpp.
| 
 | virtual | 
Start a new entry into the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 84 of file Logger.cpp.
| 
 | virtual | 
Finish the entry into the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 74 of file Logger.cpp.
| 
 | virtual | 
Finish the entry into the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 94 of file Logger.cpp.
| 
 | virtual | 
Return whether this logger provides the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 58 of file Logger.cpp.
| 
 | virtual | 
Return whether this logger provides the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 78 of file Logger.cpp.
| 
 | virtual | 
Return the info stream, 0 if hasInfoChannel() returns false.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 68 of file Logger.cpp.
| 
 | virtual | 
Return the warning stream, 0 if hasWarningChannel() returns false.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 88 of file Logger.cpp.