ALox  V. 2402 R. 0
Home ALox for C++ ALox for C# ALox for Java Download
Public Static Fields | Public Methods | Protected Fields | Protected Methods | List of all members
ReportWriterStdIO Class Reference
Inheritance diagram for ReportWriterStdIO:
[legend]
Collaboration diagram for ReportWriterStdIO:
[legend]

Class Description


The standard ReportWriter writing the message to System.err and System.out. The global formatter singleton is used is used to process the objects in the report message. This is by default of type FormatterPythonStyle. See Formatter.acquireDefault for more information.

Public Static Fields

static final ReportWriterStdIO SINGLETON = new com.aworx.lib.lang.ReportWriterStdIO()
 

Public Methods

void NotifyActivation (Phase phase)
 
void report (Report.Message msg)
 

Protected Fields

AString buffer = new AString()
 

Protected Methods

 ReportWriterStdIO ()
 

Constructor & Destructor Documentation

◆ ReportWriterStdIO()

ReportWriterStdIO ( )
protected

Protected constructor, only one Singleton might exist.

Member Function Documentation

◆ NotifyActivation()

void NotifyActivation ( Phase  phase)

Notify activation/deactivation

Parameters
phaseInformation if activated or deactivated.

Implements ReportWriter.

◆ report()

void report ( Report.Message  msg)

Just writes the prefix "ALib Report (Error):" (respectively "ALib Report (Warning):" and the error message to the cout.

Parameters
msgThe message to report.

Implements ReportWriter.

Member Data Documentation

◆ buffer

AString buffer = new AString()
protected

Buffer used for formatting messages

◆ SINGLETON

The singleton which is added in the constructor of Report.


The documentation for this class was generated from the following file: