AnCH Framework  0.1
Another C++ Hack Framework
Public Member Functions | List of all members
anch::logger::formatter::ConstFormatter Class Reference

#include <constFormatter.hpp>

Inheritance diagram for anch::logger::formatter::ConstFormatter:
Collaboration diagram for anch::logger::formatter::ConstFormatter:

Public Member Functions

 ConstFormatter (const std::string strToPrint)
 
 ~ConstFormatter ()
 
virtual void formatValue (const void *const value, std::ostream &out) const noexcept
 
virtual anch::logger::formatter::FormatterType getType () const noexcept
 
- Public Member Functions inherited from anch::logger::formatter::IFormatter
virtual ~IFormatter ()
 

Detailed Description

Constant string formatter

Author
Vincent Lachenal

Constructor & Destructor Documentation

ConstFormatter::ConstFormatter ( const std::string  strToPrint)

ConstFormatter constructor

Parameters
strToPrintThe string to print
ConstFormatter::~ConstFormatter ( )

ConstFormatter destructor

Member Function Documentation

void ConstFormatter::formatValue ( const void *const  value,
std::ostream &  out 
) const
virtualnoexcept

Return the constant string

Parameters
valueNothing (NULL will be passed every time)
outThe output stream to write in

Implements anch::logger::formatter::IFormatter.

FormatterType ConstFormatter::getType ( ) const
virtualnoexcept

Get the formatter type

Returns
The formatter type

Implements anch::logger::formatter::IFormatter.


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