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)
Value apply (Value v, std::string const &name)
 FieldGetter ()
 FieldGetter ()

Private Member Functions

bool visit_ (Value const &value, Compound const &, Field const &field)
bool visit_ (Compound const &type)
bool visit_ (Value const &value, Compound const &, Field const &field)
bool visit_ (Compound const &type)

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 100 of file install/include/typelib/value.hh.


Constructor & Destructor Documentation

Typelib::FieldGetter::FieldGetter (  )  [inline]

Definition at line 117 of file install/include/typelib/value.hh.

Typelib::FieldGetter::FieldGetter (  )  [inline]

Definition at line 117 of file typelib/value.hh.


Member Function Documentation

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

Definition at line 119 of file typelib/value.hh.

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

Definition at line 119 of file install/include/typelib/value.hh.

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

Reimplemented from Typelib::ValueVisitor.

Definition at line 106 of file typelib/value.hh.

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

Definition at line 105 of file typelib/value.hh.

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

Reimplemented from Typelib::ValueVisitor.

Definition at line 106 of file install/include/typelib/value.hh.

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

Definition at line 105 of file install/include/typelib/value.hh.


Member Data Documentation

Definition at line 103 of file install/include/typelib/value.hh.

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

Definition at line 102 of file install/include/typelib/value.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Fri Jan 11 09:37:01 2013