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

ph::reflect::dump_object_visitor Class Reference

#include <object_visitor.hpp>

Inheritance diagram for ph::reflect::dump_object_visitor:


Detailed Description

Concrete subclass of object_visitor used to dump the value of a member.

Definition at line 118 of file object_visitor.hpp.

Public Member Functions

 dump_object_visitor (std::ostream *stream, bool debug=false)
 ~dump_object_visitor ()
virtual bool recurse ()
virtual bool visit (const ph::common::object_base *obj)
virtual bool visit_composite (const ph::common::object_base *obj)

Constructor & Destructor Documentation

ph::reflect::dump_object_visitor::dump_object_visitor std::ostream *  stream,
bool  debug = false

Definition at line 124 of file object_visitor.hpp.

dump_object_visitor::~dump_object_visitor  ) 

Definition at line 156 of file object_visitor.cpp.

Member Function Documentation

virtual bool ph::reflect::dump_object_visitor::recurse  )  [inline, virtual]

Return true if the visitor should recurse through composite objects. it is up to the individual composite objects to implement this correctly.

Reimplemented from ph::common::const_object_visitor.

Definition at line 130 of file object_visitor.hpp.

bool dump_object_visitor::visit const ph::common::object_base obj  )  [virtual]

Visit an object.

Implements ph::common::const_object_visitor.

Definition at line 161 of file object_visitor.cpp.

References ph::common::object_base::visitable().

bool dump_object_visitor::visit_composite const ph::common::object_base obj  )  [virtual]

Visit a composite object.

Implements ph::common::const_object_visitor.

Definition at line 183 of file object_visitor.cpp.

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