AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::logger::formatter::AnchDateFormatter Class Reference

#include <anchDateFormatter.hpp>

+ Inheritance diagram for anch::logger::formatter::AnchDateFormatter:
+ Collaboration diagram for anch::logger::formatter::AnchDateFormatter:

Public Member Functions

 AnchDateFormatter (const std::string &dateFormat)
 
virtual ~AnchDateFormatter ()
 
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

Date formatter with high precision clock

Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ AnchDateFormatter()

anch::logger::formatter::AnchDateFormatter::AnchDateFormatter ( const std::string & dateFormat)

AnchDateFormatter default constructor

◆ ~AnchDateFormatter()

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

AnchDateFormatter destructor

Member Function Documentation

◆ formatValue()

virtual void anch::logger::formatter::AnchDateFormatter::formatValue ( const void *const value,
std::ostream & out ) const
virtualnoexcept

Return the input string

Parameters
valueThe input string
outThe output stream to write in

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

◆ getType()

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