Public Member Functions | Private Member Functions | Private Attributes
Typelib::FieldGetter Class Reference

#include <value.hh>

Inheritance diagram for Typelib::FieldGetter:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Gets the object describing a given field Throws FieldNotFound if the field is not a field of the base type

Definition at line 99 of file value.hh.


Constructor & Destructor Documentation

Definition at line 118 of file value.hh.


Member Function Documentation

Value Typelib::FieldGetter::apply ( Value  v,
std::string const &  name 
) [inline]

Definition at line 120 of file value.hh.

bool Typelib::FieldGetter::visit_ ( Compound const &  type) [inline, private]

Definition at line 106 of file value.hh.

bool Typelib::FieldGetter::visit_ ( Value const &  value,
Compound const &  ,
Field const &  field 
) [inline, private, virtual]

Reimplemented from Typelib::ValueVisitor.

Definition at line 107 of file value.hh.


Member Data Documentation

Definition at line 102 of file value.hh.

std::string Typelib::FieldGetter::m_name [private]

Definition at line 101 of file value.hh.


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


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Oct 6 2014 03:17:12