Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::BaseTagDecorator Class Referenceabstract

Represents any tag decorator. More...

#include <Taggable.hpp>

Inheritance diagram for util::BaseTagDecorator:

Public Member Functions

virtual void decorate (std::ostream &os) const =0
 Decorates a std::ostream.
 

Friends

std::ostream & operator<< (std::ostream &os, BaseTagDecorator const &decorator)
 Support for decorating streams (boost log, cout, etc.).
 

Detailed Description

Represents any tag decorator.

Member Function Documentation

◆ decorate()

virtual void util::BaseTagDecorator::decorate ( std::ostream & os) const
pure virtual

Decorates a std::ostream.

Parameters
osThe stream to decorate

Implemented in util::TagDecorator< Generator >, and util::TagDecorator< impl::NullTagGenerator >.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
BaseTagDecorator const & decorator )
friend

Support for decorating streams (boost log, cout, etc.).

Parameters
osThe stream
decoratorThe decorator
Returns
The same stream that we were given

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