#include <base.hpp>
Inheritance diagram for reflect_test::base:
Definition at line 29 of file reflect/test/base.hpp.
Public Member Functions | |
base (const std::string &type, const std::string &name) | |
virtual | ~base () |
virtual ph::common::outerable_object_base * | outerable () |
virtual const ph::common::outerable_object_base * | outerable () const |
virtual const ph::common::composition_object_base * | composition () const |
virtual ph::common::composition_object_base * | composition () |
virtual ph::common::object_base * | outer () const |
virtual void | outer (ph::common::object_base *outer) |
virtual const visitable_object_base * | visitable () const |
virtual visitable_object_base * | visitable () |
Visitable objects follow the Visitor pattern. | |
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 |
|
Definition at line 40 of file reflect/test/base.hpp. |
|
Definition at line 43 of file reflect/test/base.hpp. |
|
Outerable objects contain some type of pointer to the parent object. Reimplemented from ph::common::object_base. Definition at line 46 of file reflect/test/base.hpp. |
|
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 48 of file reflect/test/base.hpp. |
|
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 50 of file reflect/test/base.hpp. |
|
Composition objects follow the Composition pattern. Reimplemented from ph::common::object_base. Definition at line 52 of file reflect/test/base.hpp. |
|
return the "outer" object from this one. Implements ph::common::outerable_object_base. Definition at line 56 of file reflect/test/base.hpp. References ph::common::outerable_helper::outer_helper(). |
|
Set the outer object of this object. Implements ph::common::outerable_object_base. Definition at line 57 of file reflect/test/base.hpp. References ph::common::outerable_helper::outer_helper(). |
|
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 60 of file reflect/test/base.hpp. |
|
Visitable objects follow the Visitor pattern.
Reimplemented from ph::common::object_base. Definition at line 62 of file reflect/test/base.hpp. |
|
Visit each of the members in the object. Implements ph::common::visitable_object_base. Reimplemented in reflect_test::bar, reflect_test::foo, and reflect_test::root. Definition at line 23 of file base.cpp. References ph::common::member_visitor::visit(). Referenced by reflect_test::root::accept(), reflect_test::foo::accept(), and reflect_test::bar::accept(). |
|
Visit each of the members in the object. But they won't be modified. Implements ph::common::visitable_object_base. Reimplemented in reflect_test::bar, reflect_test::foo, and reflect_test::root. Definition at line 34 of file base.cpp. References ph::common::const_member_visitor::visit(). |
|
Visit each of the objects within this object. Implements ph::common::visitable_object_base. Reimplemented in reflect_test::bar, reflect_test::foo, and reflect_test::root. Definition at line 68 of file reflect/test/base.hpp. |
|
Visit each of the objects within this object. But they won't be modified. Implements ph::common::visitable_object_base. Reimplemented in reflect_test::bar, reflect_test::foo, and reflect_test::root. Definition at line 70 of file reflect/test/base.hpp. |