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

reflect_test::c_base Class Reference

#include <c_base.hpp>

Inheritance diagram for reflect_test::c_base:

ph::common::composite_object_helper ph::common::composite_object_base ph::common::comparable_object_base ph::common::outerable_helper ph::common::outerable_object_base ph::common::deletable_object_base ph::common::visitable_object_base ph::common::object_base reflect_test::c_ref reflect_test::c_vector

Detailed Description

Definition at line 31 of file reflect/test/c_base.hpp.

Public Member Functions

 c_base (ph::common::object_base *outer, const std::string &name)
virtual ph::common::deletable_object_basedeletable ()
virtual ph::common::outerable_object_baseouterable ()
virtual const ph::common::outerable_object_baseouterable () const
virtual const ph::common::comparable_object_basecomparable () const
virtual const ph::common::composition_object_basecomposition () const
virtual ph::common::composition_object_basecomposition ()
virtual const visitable_object_base * visitable () const
virtual visitable_object_base * visitable ()
 Visitable objects follow the Visitor pattern.
virtual ph::common::object_baseouter () const
virtual void outer (ph::common::object_base *outer)
virtual bool equal (const ph::common::object_base *obj) const
virtual bool accept (ph::common::member_visitor *v)
virtual bool accept (ph::common::const_member_visitor *v) const
virtual bool accept (ph::common::object_visitor *v)
virtual bool accept (ph::common::const_object_visitor *v) const


Constructor & Destructor Documentation

reflect_test::c_base::c_base ph::common::object_base outer,
const std::string &  name
[inline]
 

Definition at line 42 of file reflect/test/c_base.hpp.


Member Function Documentation

virtual ph::common::deletable_object_base* reflect_test::c_base::deletable  )  [inline, virtual]
 

Deletable objects use a member to delete the object rather than a destructor.

Reimplemented from ph::common::object_base.

Definition at line 47 of file reflect/test/c_base.hpp.

virtual ph::common::outerable_object_base* reflect_test::c_base::outerable  )  [inline, virtual]
 

Outerable objects contain some type of pointer to the parent object.

Reimplemented from ph::common::object_base.

Definition at line 49 of file reflect/test/c_base.hpp.

virtual const ph::common::outerable_object_base* reflect_test::c_base::outerable  )  const [inline, virtual]
 

Outerable objects contain some type of pointer to the parent object. This interface is used in circumstances where the class won't be modified.

Reimplemented from ph::common::object_base.

Definition at line 51 of file reflect/test/c_base.hpp.

virtual const ph::common::comparable_object_base* reflect_test::c_base::comparable  )  const [inline, virtual]
 

Deletable objects use a member to delete the object rather than a destructor. This interface is used in circumstances where the class won't be modified.

Reimplemented from ph::common::object_base.

Definition at line 53 of file reflect/test/c_base.hpp.

virtual const ph::common::composition_object_base* reflect_test::c_base::composition  )  const [inline, virtual]
 

Composition objects follow the Composition pattern. This interface is used in circumstances where the class won't be modified.

Reimplemented from ph::common::object_base.

Definition at line 55 of file reflect/test/c_base.hpp.

virtual ph::common::composition_object_base* reflect_test::c_base::composition  )  [inline, virtual]
 

Composition objects follow the Composition pattern.

Reimplemented from ph::common::object_base.

Definition at line 57 of file reflect/test/c_base.hpp.

virtual const visitable_object_base* reflect_test::c_base::visitable  )  const [inline, virtual]
 

Visitable objects follow the Visitor pattern. This interface is used in circumstances where the class won't be modified.

Reimplemented from ph::common::object_base.

Definition at line 59 of file reflect/test/c_base.hpp.

virtual visitable_object_base* reflect_test::c_base::visitable  )  [inline, virtual]
 

Visitable objects follow the Visitor pattern.

Reimplemented from ph::common::object_base.

Definition at line 61 of file reflect/test/c_base.hpp.

virtual ph::common::object_base* reflect_test::c_base::outer  )  const [inline, virtual]
 

return the "outer" object from this one.

Implements ph::common::outerable_object_base.

Definition at line 65 of file reflect/test/c_base.hpp.

References ph::common::outerable_helper::outer_helper().

Referenced by equal().

virtual void reflect_test::c_base::outer ph::common::object_base outer  )  [inline, virtual]
 

Set the outer object of this object.

Implements ph::common::outerable_object_base.

Definition at line 66 of file reflect/test/c_base.hpp.

References ph::common::outerable_helper::outer_helper().

virtual bool reflect_test::c_base::equal const ph::common::object_base obj  )  const [inline, virtual]
 

Returns true if the object passed in is equivalent to this one.

Implements ph::common::comparable_object_base.

Definition at line 69 of file reflect/test/c_base.hpp.

References ph::common::composite_object_helper::helper_equal(), and outer().

bool c_base::accept ph::common::member_visitor v  )  [virtual]
 

Visit each of the members in the object.

Implements ph::common::visitable_object_base.

Reimplemented in reflect_test::c_ref, and reflect_test::c_vector.

Definition at line 23 of file reflect/test/c_base.cpp.

References ph::common::member_visitor::visit().

Referenced by reflect_test::c_vector::accept(), and reflect_test::c_ref::accept().

bool c_base::accept ph::common::const_member_visitor v  )  const [virtual]
 

Visit each of the members in the object. But they won't be modified.

Implements ph::common::visitable_object_base.

Reimplemented in reflect_test::c_ref, and reflect_test::c_vector.

Definition at line 31 of file reflect/test/c_base.cpp.

References ph::common::const_member_visitor::visit().

virtual bool reflect_test::c_base::accept ph::common::object_visitor v  )  [inline, virtual]
 

Visit each of the objects within this object.

Implements ph::common::visitable_object_base.

Reimplemented in reflect_test::c_ref, and reflect_test::c_vector.

Definition at line 75 of file reflect/test/c_base.hpp.

virtual bool reflect_test::c_base::accept ph::common::const_object_visitor v  )  const [inline, virtual]
 

Visit each of the objects within this object. But they won't be modified.

Implements ph::common::visitable_object_base.

Reimplemented in reflect_test::c_ref, and reflect_test::c_vector.

Definition at line 77 of file reflect/test/c_base.hpp.


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