CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::NamedObjectMixin Class Reference

Mixin to have named objects. More...

Inheritance diagram for catapult::utils::NamedObjectMixin:

Public Member Functions

 NamedObjectMixin (const std::string &name)
 Creates a mixin with name. More...
 
const std::string & name () const
 Returns the name. More...
 

Private Attributes

std::string m_name
 

Detailed Description

Mixin to have named objects.

Constructor & Destructor Documentation

◆ NamedObjectMixin()

catapult::utils::NamedObjectMixin::NamedObjectMixin ( const std::string &  name)
inlineexplicit

Creates a mixin with name.

Member Function Documentation

◆ name()

const std::string& catapult::utils::NamedObjectMixin::name ( ) const
inline

Returns the name.

Member Data Documentation

◆ m_name

std::string catapult::utils::NamedObjectMixin::m_name
private

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