#include <c_base.hpp>
Inheritance diagram for persist_test::c_base:
Definition at line 22 of file persist/test/c_base.hpp.
Public Member Functions | |
c_base (ph::common::object_base *outer, const std::string &name) | |
virtual ph::common::deletable_object_base * | deletable () |
virtual ph::common::outerable_object_base * | outerable () |
virtual const ph::common::outerable_object_base * | outerable () const |
virtual const ph::common::comparable_object_base * | comparable () const |
virtual const ph::common::composition_object_base * | composition () const |
virtual ph::common::composition_object_base * | composition () |
virtual const persistable_object_base * | persistable () const |
virtual persistable_object_base * | persistable () |
virtual ph::common::object_base * | create (const std::string &type, const std::string &name, ph::common::persistable_object_context *context) |
virtual ph::common::object_base * | get_composite_object (const std::string &name) |
virtual bool | has (const std::string &name) const |
virtual void | set (const std::string &name, const std::string &value) |
virtual std::string | get (const std::string &name) const |
virtual ph::common::object_base * | outer () const |
virtual void | outer (ph::common::object_base *outer) |
virtual bool | equal (const ph::common::object_base *obj) const |
Protected Attributes | |
std::string | _name |
|
Definition at line 33 of file persist/test/c_base.hpp. |
|
Deletable objects use a member to delete the object rather than a destructor. Reimplemented from ph::common::object_base. Definition at line 38 of file persist/test/c_base.hpp. |
|
Outerable objects contain some type of pointer to the parent object. Reimplemented from ph::common::object_base. Definition at line 40 of file persist/test/c_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 42 of file persist/test/c_base.hpp. |
|
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 44 of file persist/test/c_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 46 of file persist/test/c_base.hpp. |
|
Composition objects follow the Composition pattern. Reimplemented from ph::common::object_base. Definition at line 48 of file persist/test/c_base.hpp. |
|
Persistable objects can be written and read to some type of external storage. 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 persist/test/c_base.hpp. |
|
Persistable objects can be written and read to some type of external storage. Reimplemented from ph::common::object_base. Definition at line 52 of file persist/test/c_base.hpp. |
|
Allow one object to create another. this is dependant on the way you want to build new objects, but usually it involves the Abstract Factory pattern. Implements ph::common::persistable_object_base. |
|
return the object if it is a composite one. Implements ph::common::persistable_object_base. Definition at line 60 of file persist/test/c_base.hpp. |
|
Does this member name exist? Implements ph::common::persistable_object_base. |
|
Set the value of a member in the class with a particular name. Implements ph::common::persistable_object_base. |
|
Get the value of a member in the class with a particular name. Implements ph::common::persistable_object_base. |
|
return the "outer" object from this one. Implements ph::common::outerable_object_base. Definition at line 67 of file persist/test/c_base.hpp. References ph::common::outerable_helper::outer_helper(). Referenced by equal(). |
|
Set the outer object of this object. Implements ph::common::outerable_object_base. Definition at line 68 of file persist/test/c_base.hpp. References ph::common::outerable_helper::outer_helper(). |
|
Returns true if the object passed in is equivalent to this one. Implements ph::common::comparable_object_base. Definition at line 71 of file persist/test/c_base.hpp. References _name, ph::common::composite_object_helper::helper_equal(), and outer(). |
|
Definition at line 75 of file persist/test/c_base.hpp. Referenced by equal(). |