TextInterface::NestedValue Class Reference

Proxy enables value interfaces to be imported with a name. More...

#include <NestedTextInterface.h>

Public Member Functions

 NestedValue (const std::string &pre, Value *val)
 Construct from a name and pointer to Value.
std::string get_name () const
 Get the name of the attribute.
std::string get_description () const
 Get the description of the value.
std::string get_value () const
 Get the value of the value.
void set_value (const std::string &txt)
 Set the value of the value.
bool matches (const std::string &name) const
 Return true if the name argument matches.
void set_modifiers (const std::string &modifiers) const
 Parse any modifiers that will alter the behaviour of the output stream.
void reset_modifiers () const
 Reset any output stream modifiers.
void set_parent (Parser *p)

Protected Attributes

Reference::To< Valuevalue
 The parent value interface.
std::string prefix
 The name of the value.

Detailed Description

Proxy enables value interfaces to be imported with a name.

Member Function Documentation

◆ get_description()

std::string TextInterface::NestedValue::get_description ( ) const
inlinevirtual

Get the description of the value.

Implements TextInterface::Value.

References value.

◆ get_name()

std::string TextInterface::NestedValue::get_name ( ) const
inlinevirtual

Get the name of the attribute.

Implements TextInterface::Value.

References prefix, and value.

◆ get_value()

std::string TextInterface::NestedValue::get_value ( ) const
inlinevirtual

Get the value of the value.

Implements TextInterface::Value.

References value.

◆ matches()

bool TextInterface::NestedValue::matches ( const std::string & name) const
inlinevirtual

Return true if the name argument matches.

Reimplemented from TextInterface::Value.

References prefix, and value.

◆ reset_modifiers()

void TextInterface::NestedValue::reset_modifiers ( ) const
inlinevirtual

Reset any output stream modifiers.

Implements TextInterface::Value.

References value.

◆ set_modifiers()

void TextInterface::NestedValue::set_modifiers ( const std::string & modifiers) const
inlinevirtual

Parse any modifiers that will alter the behaviour of the output stream.

Implements TextInterface::Value.

References value.

◆ set_parent()

void TextInterface::NestedValue::set_parent ( Parser * p)
inlinevirtual

Reimplemented from TextInterface::Value.

◆ set_value()

void TextInterface::NestedValue::set_value ( const std::string & txt)
inlinevirtual

Set the value of the value.

Implements TextInterface::Value.

References value.


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

Generated using doxygen 1.14.0