DGtal 1.3.0
|
Implements trace prefix for color terminals. More...
#include <DGtal/base/TraceWriterTerm.h>
Public Member Functions | |
TraceWriterTerm (std::ostream &aoutputStream=std::cerr) | |
~TraceWriterTerm () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
std::string | prefixWarning () |
std::string | prefixInfo () |
std::string | prefixError () |
std::string | prefixEmphase () |
std::string | postfixReset () |
Public Member Functions inherited from DGtal::TraceWriter | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
virtual std::string | prefixWarning ()=0 |
virtual std::string | prefixInfo ()=0 |
virtual std::string | prefixError ()=0 |
virtual std::string | prefixEmphase ()=0 |
virtual std::string | postfixReset ()=0 |
std::ostream & | outputStream () |
Private Member Functions | |
TraceWriterTerm (const TraceWriterTerm &other) | |
TraceWriterTerm & | operator= (const TraceWriterTerm &other) |
Additional Inherited Members | |
Protected Member Functions inherited from DGtal::TraceWriter | |
TraceWriter (std::ostream &aoutputStream) | |
Protected Attributes inherited from DGtal::TraceWriter | |
std::ostream & | myOutputStream |
Reference to the output stream. More... | |
Implements trace prefix for color terminals.
Description of class 'TraceWriterTerm'
Aim:
Definition at line 63 of file TraceWriterTerm.h.
|
inline |
Constructor.
aoutputStream | the current output Stream |
Definition at line 72 of file TraceWriterTerm.h.
|
inline |
|
private |
Copy constructor.
other | the object to clone. Forbidden by default. |
bool DGtal::TraceWriterTerm::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
other | the object to copy. |
|
inlinevirtual |
Create a Reset postfix
Implements DGtal::TraceWriter.
Definition at line 153 of file TraceWriterTerm.h.
|
inlinevirtual |
Create an Emphase Prefix
Implements DGtal::TraceWriter.
Definition at line 140 of file TraceWriterTerm.h.
|
inlinevirtual |
Create an Error Prefix
Implements DGtal::TraceWriter.
Definition at line 127 of file TraceWriterTerm.h.
|
inlinevirtual |
Create an Info Prefix
Implements DGtal::TraceWriter.
Definition at line 114 of file TraceWriterTerm.h.
|
inlinevirtual |
Create a Wrarning Prefix
Implements DGtal::TraceWriter.
Definition at line 101 of file TraceWriterTerm.h.
void DGtal::TraceWriterTerm::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |