30 #if defined(TraceWriterTerm_RECURSES)
31 #error Recursive header files inclusion detected in TraceWriterTerm.h
34 #define TraceWriterTerm_RECURSES
36 #if !defined TraceWriterTerm_h
38 #define TraceWriterTerm_h
45 #include "DGtal/base/TraceWriter.h"
46 #include "DGtal/base/Config.h"
103 #if ( !defined(DGTAL_NO_ESCAPED_CHAR_IN_TRACE) && (defined(UNIX)||defined(unix)||defined(linux)) )
104 return "\033[0m\033[35m";
116 #if ( !defined(DGTAL_NO_ESCAPED_CHAR_IN_TRACE) && (defined(UNIX)||defined(unix)||defined(linux)) )
129 #if ( !defined(DGTAL_NO_ESCAPED_CHAR_IN_TRACE) && (defined(UNIX)||defined(unix)||defined(linux)) )
130 return "\033[0m\033[31m[ERR]";
142 #if ( !defined(DGTAL_NO_ESCAPED_CHAR_IN_TRACE) && (defined(UNIX)||defined(unix)||defined(linux)) )
143 return "\033[0m\033[1m";
155 #if ( !defined(DGTAL_NO_ESCAPED_CHAR_IN_TRACE) && (defined(UNIX)||defined(unix)||defined(linux)) )
200 #undef TraceWriterTerm_RECURSES
Implements trace prefix for color terminals.
TraceWriterTerm(const TraceWriterTerm &other)
std::string postfixReset()
void selfDisplay(std::ostream &out) const
std::string prefixError()
TraceWriterTerm & operator=(const TraceWriterTerm &other)
std::string prefixWarning()
TraceWriterTerm(std::ostream &aoutputStream=std::cerr)
std::string prefixEmphase()
Virtual Class to implement trace writers.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)