Virtual Class to implement trace writers.
More...
#include <DGtal/base/TraceWriter.h>
Virtual Class to implement trace writers.
Description of class 'TraceWriter'
Aim:
- See also
- testTrace.cpp
Definition at line 57 of file TraceWriter.h.
◆ TraceWriter() [1/2]
DGtal::TraceWriter::TraceWriter |
( |
std::ostream & | aoutputStream | ) |
|
|
inlineprotected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
Definition at line 103 of file TraceWriter.h.
std::ostream & myOutputStream
Reference to the output stream.
◆ TraceWriter() [2/2]
DGtal::TraceWriter::TraceWriter |
( |
const TraceWriter & | other | ) |
|
|
private |
Copy constructor.
- Parameters
-
other | the object to clone. Forbidden by default. |
◆ isValid()
bool DGtal::TraceWriter::isValid |
( |
| ) |
const |
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ operator=()
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
◆ outputStream()
std::ostream & DGtal::TraceWriter::outputStream |
( |
| ) |
|
|
inline |
◆ postfixReset()
virtual std::string DGtal::TraceWriter::postfixReset |
( |
| ) |
|
|
pure virtual |
◆ prefixEmphase()
virtual std::string DGtal::TraceWriter::prefixEmphase |
( |
| ) |
|
|
pure virtual |
◆ prefixError()
virtual std::string DGtal::TraceWriter::prefixError |
( |
| ) |
|
|
pure virtual |
◆ prefixInfo()
virtual std::string DGtal::TraceWriter::prefixInfo |
( |
| ) |
|
|
pure virtual |
◆ prefixWarning()
virtual std::string DGtal::TraceWriter::prefixWarning |
( |
| ) |
|
|
pure virtual |
◆ selfDisplay()
void DGtal::TraceWriter::selfDisplay |
( |
std::ostream & | out | ) |
const |
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ myOutputStream
std::ostream& DGtal::TraceWriter::myOutputStream |
|
protected |
The documentation for this class was generated from the following file: