ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Methods | List of all members
ObjectConverter Class Referenceabstract

#include <textlogger.hpp>

Inheritance diagram for ObjectConverter:
[legend]

Class Description


This abstract class represents a plug-in for the TextLogger class which converts the list of logables into a textual representation.

See also
StandardConverter for further information.

Definition at line 53 of file textlogger.hpp.

Public Methods

virtual ~ObjectConverter ()
 
virtual void ConvertObjects (AString &target, Boxes &logables)=0
 
virtual AutoSizesGetAutoSizes ()=0
 
virtual void ResetAutoSizes ()=0
 

Constructor & Destructor Documentation

◆ ~ObjectConverter()

virtual ~ObjectConverter ( )
inlinevirtual

Destructs an object of this class.

Definition at line 59 of file textlogger.hpp.

Member Function Documentation

◆ ConvertObjects()

virtual void ConvertObjects ( AString target,
Boxes logables 
)
pure virtual

The conversion method.

Parameters
targetAn AString that takes the result.
logablesThe objects to convert.

Implemented in StandardConverter.

◆ GetAutoSizes()

virtual AutoSizes* GetAutoSizes ( )
pure virtual

If this converter uses an AutoSizes object, this method returns such object.

Returns
The auto sizes used, nullptr if not applicable.

Implemented in StandardConverter.

◆ ResetAutoSizes()

virtual void ResetAutoSizes ( )
pure virtual

If this converter uses an AutoSizes object, values of this field are reset.

Implemented in StandardConverter.


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