TextInterface::AdapterBase< IsA, HasA > Class Template Reference

Base class of Value adapters. More...

#include <TextInterfaceAdapter.h>

Public Member Functions

 AdapterBase (HasA *_value=0)
std::string get_name () const
 Get the name of the value.
std::string get_description () const
 Get the description of the value.
std::string get_detailed_description () const
 Set the detailed description of the value.
bool matches (const std::string &name) const
void set_parent (Parser *p)
void set_modifiers (const std::string &mods) const
void reset_modifiers () const

Protected Attributes

Reference::To< HasA > value
 The nested value.

Detailed Description

template<class IsA, class HasA = IsA>
class TextInterface::AdapterBase< IsA, HasA >

Base class of Value adapters.

To avoid the diamond problem and multiple inheritance, the inherited class is a template argument

Member Function Documentation

◆ get_name()

template<class IsA, class HasA = IsA>
std::string TextInterface::AdapterBase< IsA, HasA >::get_name ( ) const
inline

◆ matches()

template<class IsA, class HasA = IsA>
bool TextInterface::AdapterBase< IsA, HasA >::matches ( const std::string & name) const
inline

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

Generated using doxygen 1.14.0