|
DGtal 2.2.0
|
Virtual Class to implement trace writers. More...
#include <DGtal/base/TraceWriter.h>
Public Member Functions | |
| 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 () |
Protected Member Functions | |
| TraceWriter (std::ostream &aoutputStream) | |
Protected Attributes | |
| std::ostream & | myOutputStream |
| Reference to the output stream. | |
Private Member Functions | |
| TraceWriter (const TraceWriter &other) | |
| TraceWriter & | operator= (const TraceWriter &other) |
Virtual Class to implement trace writers.
Description of class 'TraceWriter'
Aim:
Definition at line 57 of file TraceWriter.h.
|
inlineprotected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
Definition at line 103 of file TraceWriter.h.
References myOutputStream.
Referenced by operator=(), TraceWriter(), DGtal::TraceWriterFile::TraceWriterFile(), and DGtal::TraceWriterTerm::TraceWriterTerm().
|
private |
Copy constructor.
| other | the object to clone. Forbidden by default. |
References TraceWriter().
| bool DGtal::TraceWriter::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
| other | the object to copy. |
References TraceWriter().
|
inline |
|
pure virtual |
Implemented in DGtal::TraceWriterFile, and DGtal::TraceWriterTerm.
|
pure virtual |
Implemented in DGtal::TraceWriterFile, and DGtal::TraceWriterTerm.
|
pure virtual |
Implemented in DGtal::TraceWriterFile, and DGtal::TraceWriterTerm.
|
pure virtual |
Implemented in DGtal::TraceWriterFile, and DGtal::TraceWriterTerm.
|
pure virtual |
Implemented in DGtal::TraceWriterFile, and DGtal::TraceWriterTerm.
| void DGtal::TraceWriter::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
|
protected |
Reference to the output stream.
Definition at line 90 of file TraceWriter.h.
Referenced by outputStream(), and TraceWriter().