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

ph::common::member_visitor Class Reference

#include <visitable_object.hpp>

Inheritance diagram for ph::common::member_visitor:


Detailed Description

Abstract class representing a visitor for members of a descriptor.

This class represents the "Visitor" in the "Visitor" pattern.

Definition at line 80 of file visitable_object.hpp.

Public Member Functions

virtual ~member_visitor ()
virtual bool visit (object_base *obj, const std::string &name, member_base *member)=0

Constructor & Destructor Documentation

virtual ph::common::member_visitor::~member_visitor  )  [inline, virtual]

Definition at line 88 of file visitable_object.hpp.

Member Function Documentation

virtual bool ph::common::member_visitor::visit object_base obj,
const std::string &  name,
member_base member
[pure 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.

Implemented in ph::reflect::set_member_visitor.

Referenced by reflect_test::c_base::accept(), and reflect_test::base::accept().

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