AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
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)
 
virtual ~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()

anch::logger::formatter::ConstFormatter::ConstFormatter ( const std::string strToPrint)

ConstFormatter constructor

Parameters
strToPrintThe string to print

◆ ~ConstFormatter()

virtual anch::logger::formatter::ConstFormatter::~ConstFormatter ( )
virtual

ConstFormatter destructor

Member Function Documentation

◆ formatValue()

virtual void anch::logger::formatter::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.

◆ getType()

virtual anch::logger::formatter::FormatterType anch::logger::formatter::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 file: