Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

ph::common::get_member_value_visitor Class Reference

#include <visitable_object.hpp>

Inheritance diagram for ph::common::get_member_value_visitor:


Detailed Description

Concrete subclass of const_member_visitor used to get the value of a member.

Definition at line 165 of file visitable_object.hpp.

Public Member Functions

 get_member_value_visitor (const std::string &name)
std::string get ()
bool found ()
virtual bool visit (const object_base *obj, const std::string &name, const member_base *member)

Constructor & Destructor Documentation

ph::common::get_member_value_visitor::get_member_value_visitor const std::string &  name  )  [inline]

Definition at line 171 of file visitable_object.hpp.

Member Function Documentation

std::string ph::common::get_member_value_visitor::get  )  [inline]

Definition at line 175 of file visitable_object.hpp.

Referenced by ph::common::get_visitable_obj_member().

bool ph::common::get_member_value_visitor::found  )  [inline]

Definition at line 176 of file visitable_object.hpp.

Referenced by ph::common::get_visitable_obj_member().

virtual bool ph::common::get_member_value_visitor::visit const object_base obj,
const std::string &  name,
const member_base member
[inline, virtual]

Visit the member passing the name of it, a member base class which can be used to convert to/from a string, and the actual parent object.

Implements ph::common::const_member_visitor.

Definition at line 178 of file visitable_object.hpp.

References ph::common::member_base::get().

The documentation for this class was generated from the following file:
Generated on Wed Apr 5 22:03:35 2006 for cppxmlobj by  doxygen 1.4.3