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

Can be used as an Adapter (IsA != HasA) or a Decorator (IsA == HasA) More...

#include <TextInterfaceAdapter.h>

Inheritance diagram for TextInterface::AttributeAdapter< IsA, HasA >:
TextInterface::AdapterBase< Attribute< IsA >, Attribute< IsA > >

Public Member Functions

void set_description (const std::string &description)
 Set the description of the attribute.
void set_detailed_description (const std::string &description)
 Set the detailed description of the attribute.
Public Member Functions inherited from TextInterface::AdapterBase< Attribute< IsA >, Attribute< IsA > >
 AdapterBase (Attribute< IsA > *_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

Additional Inherited Members

Protected Attributes inherited from TextInterface::AdapterBase< Attribute< IsA >, Attribute< IsA > >
Reference::To< Attribute< IsA > > value
 The nested value.

Detailed Description

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

Can be used as an Adapter (IsA != HasA) or a Decorator (IsA == HasA)


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

Generated using doxygen 1.14.0