#include <persistable_object.hpp>
Inheritance diagram for ph::common::persistable_object_context:
Definition at line 70 of file persistable_object.hpp.
Public Member Functions | |
virtual | ~persistable_object_context () |
virtual object_base * | create (const std::string &type, const std::string &name)=0 |
virtual object_base * | find_object (object_base *root, object_base *obj, const std::string &location)=0 |
virtual object_base * | find_composite_object (object_base *root, object_base *obj, const std::string &location)=0 |
virtual bool | delayed_import () |
virtual ph::common::object_base * | create_delayed (std::ostream *console, const boost::filesystem::path &url, const std::string &name, unsigned int debug) |
Create an object to hold delayed import information. |
|
Definition at line 77 of file persistable_object.hpp. |
|
Create an object of the appropriate type and name. Usually implemented with an Abstract Factory pattern. |
|
Find the object and return it if it's Composite. "root" is the root object of the tree. "obj" is the current object for relative locations. "location" is the path location. |
|
Find the object and return it if it's Composite. "root" is the root object of the tree. "obj" is the current object for relative locations. "location" is the path location. |
|
The XML parser can do delayed importing. This means that instead of actually importing an external file, a placeholder object is created and then when this placeholder is referenced, the actual import is performed. This speeds up extremely large object systems, and you can enable this behaviour by returning true here. If your parser doesn't handle this type of importing, then throw an error if this is set to true (or something). Definition at line 105 of file persistable_object.hpp. |
|
Create an object to hold delayed import information.
Definition at line 114 of file persistable_object.hpp. |