![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
#include <iFormatter.hpp>
Public Member Functions | |
virtual | ~IFormatter () |
virtual anch::logger::formatter::FormatterType | getType () const noexcept=0 |
virtual void | formatValue (const void *const value, std::ostream &out) const noexcept=0 |
Provide an interface for every item which will be format
|
inlinevirtual |
IFormatter destructor
|
pure virtualnoexcept |
Format value
value | The value to format |
out | The output stream to write in |
Implemented in anch::logger::formatter::AnchDateFormatter, anch::logger::formatter::ConstFormatter, anch::logger::formatter::DateFormatter, anch::logger::formatter::CategoryFormatter, anch::logger::formatter::LevelFormatter, anch::logger::formatter::StringFormatter, and anch::logger::formatter::ThreadIdFormatter.
|
pure virtualnoexcept |
Get the formatter type
Implemented in anch::logger::formatter::AnchDateFormatter, anch::logger::formatter::ConstFormatter, anch::logger::formatter::DateFormatter, anch::logger::formatter::CategoryFormatter, anch::logger::formatter::LevelFormatter, anch::logger::formatter::StringFormatter, and anch::logger::formatter::ThreadIdFormatter.