25#ifndef TIMEMORY_COMPONENT_PRINTER_PRINTER_CPP_
26#define TIMEMORY_COMPONENT_PRINTER_PRINTER_CPP_ 1
30#if !defined(TIMEMORY_COMPONENT_PRINTER_HEADER_ONLY_MODE)
32# define TIMEMORY_COMPONENT_PRINTER_INLINE
34# define TIMEMORY_COMPONENT_PRINTER_INLINE inline
52 return "Provides an interface for printing out debug messages";
71: m_prefix{ rhs.m_prefix }
73, m_stream{ rhs.m_stream.str() }
83 m_prefix = rhs.m_prefix;
85 m_stream << rhs.m_stream.str();
94 return m_stream.str();
109 return (m_ts !=
nullptr);
char const std::string & _prefix
tim::mpl::apply< std::string > string
#define TIMEMORY_COMPONENT_PRINTER_INLINE
A diagnostic component when prints messages via start(...) and stores messages via store(....
static std::string get_description()
bool assemble(timestamp *)
printer & operator=(printer &&)=default
static std::string get_label()
static std::string label()
static std::string description()
void set_prefix(const char *)
this component stores the timestamp of when a bundle was started and is specialized such that the "ti...