#include <base.hpp>
Inheritance diagram for persist_test::base:
Definition at line 19 of file persist/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 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 * | outer () const |
virtual void | outer (ph::common::object_base *outer) |
Protected Attributes | |
std::string | _type |
std::string | _name |
|
Definition at line 27 of file persist/test/base.hpp. |
|
Definition at line 30 of file persist/test/base.hpp. |
|
Outerable objects contain some type of pointer to the parent object. Reimplemented from ph::common::object_base. Definition at line 33 of file persist/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 35 of file persist/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 37 of file persist/test/base.hpp. |
|
Composition objects follow the Composition pattern. Reimplemented from ph::common::object_base. Definition at line 39 of file persist/test/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 41 of file persist/test/base.hpp. Referenced by create(). |
|
Persistable objects can be written and read to some type of external storage. Reimplemented from ph::common::object_base. Definition at line 43 of file persist/test/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. Definition at line 47 of file persist/test/base.hpp. References outer(), ph::common::object_base::persistable(), and persistable(). |
|
return the "outer" object from this one. Implements ph::common::outerable_object_base. Definition at line 58 of file persist/test/base.hpp. References ph::common::outerable_helper::outer_helper(). Referenced by create(). |
|
Set the outer object of this object. Implements ph::common::outerable_object_base. Definition at line 59 of file persist/test/base.hpp. References ph::common::outerable_helper::outer_helper(). |
|
Definition at line 62 of file persist/test/base.hpp. |
|
Definition at line 63 of file persist/test/base.hpp. |