#include <value.hh>

Public Member Functions | |
| Value | apply (Value v, std::string const &name) |
| FieldGetter () | |
Private Member Functions | |
| bool | visit_ (Compound const &type) |
| bool | visit_ (Value const &value, Compound const &, Field const &field) |
Private Attributes | |
| Value | m_field |
| std::string | m_name |
Gets the object describing a given field Throws FieldNotFound if the field is not a field of the base type
| Typelib::FieldGetter::FieldGetter | ( | ) | [inline] |
| Value Typelib::FieldGetter::apply | ( | Value | v, |
| std::string const & | name | ||
| ) | [inline] |
| bool Typelib::FieldGetter::visit_ | ( | Compound const & | type | ) | [inline, private] |
| bool Typelib::FieldGetter::visit_ | ( | Value const & | value, |
| Compound const & | , | ||
| Field const & | field | ||
| ) | [inline, private, virtual] |
Reimplemented from Typelib::ValueVisitor.
Value Typelib::FieldGetter::m_field [private] |
std::string Typelib::FieldGetter::m_name [private] |