Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::Taggable Class Reference

A base class that allows attaching a tag decorator to a subclass. More...

#include <Taggable.hpp>

Inheritance diagram for util::Taggable:

Public Member Functions

 Taggable (Taggable &&)=default
 
Taggableoperator= (Taggable &&)=default
 
BaseTagDecorator const & tag () const
 Getter for tag decorator.
 

Protected Member Functions

 Taggable (util::TagDecoratorFactory const &tagFactory)
 New Taggable from a specified factory.
 

Detailed Description

A base class that allows attaching a tag decorator to a subclass.

Constructor & Destructor Documentation

◆ Taggable()

util::Taggable::Taggable ( util::TagDecoratorFactory const & tagFactory)
inlineexplicitprotected

New Taggable from a specified factory.

Parameters
tagFactoryThe factory to use

Member Function Documentation

◆ tag()

BaseTagDecorator const & util::Taggable::tag ( ) const
inline

Getter for tag decorator.

Returns
Reference to the tag decorator

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