libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::Logger::Destination Class Referenceabstract

Abstract base class for printing log information to a specific output sink. More...

#include <Logger.h>

Public Member Functions

virtual void Print (const std::string &value)=0
 Print a std::string. More...
 
virtual void Print (const char *value)=0
 Print a const char*. More...
 
virtual void Print (bool value)=0
 Print a boolean value (values are printed as "true" or "false") More...
 
virtual void Print (short value)=0
 
virtual void Print (unsigned short value)=0
 
virtual void Print (int value)=0
 
virtual void Print (unsigned int value)=0
 
virtual void Print (long value)=0
 
virtual void Print (unsigned long value)=0
 
virtual void Print (long long value)=0
 
virtual void Print (unsigned long long value)=0
 
virtual void PrintLn ()=0
 Finish printing the line. More...
 
virtual ~Destination ()=default
 

Detailed Description

Abstract base class for printing log information to a specific output sink.

Constructor & Destructor Documentation

virtual osmscout::Logger::Destination::~Destination ( )
virtualdefault

Member Function Documentation

virtual void osmscout::Logger::Destination::Print ( const std::string &  value)
pure virtual

Print a std::string.

Referenced by osmscout::Logger::Line::operator<<().

virtual void osmscout::Logger::Destination::Print ( const char *  value)
pure virtual

Print a const char*.

virtual void osmscout::Logger::Destination::Print ( bool  value)
pure virtual

Print a boolean value (values are printed as "true" or "false")

virtual void osmscout::Logger::Destination::Print ( short  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( unsigned short  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( int  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( unsigned int  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( long  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( unsigned long  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( long long  value)
pure virtual
virtual void osmscout::Logger::Destination::Print ( unsigned long long  value)
pure virtual
virtual void osmscout::Logger::Destination::PrintLn ( )
pure virtual

Finish printing the line.

Internally called by the Line instance on destruction of the Line.


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