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

ph::xmlobj::generic::generic_context Class Reference

#include <generic_context.hpp>


Detailed Description

Concrete subclass of xmlobj_context which allows create to return a generic object.

This needs to be subclassed so that all other objects can be registered.

You can use this class as a direct replacement for "xmlobj_context", and when you do, you can create new objects that are not registered as part of your XML object. Sort of like a generic DOM.

Definition at line 18 of file generic_context.hpp.

Public Member Functions

 generic_context (reflect::object_navigator_factory *navfactory)
virtual bool register_objects ()
virtual ph::common::object_basecreate (const std::string &type, const std::string &name)


Constructor & Destructor Documentation

ph::xmlobj::generic::generic_context::generic_context reflect::object_navigator_factory navfactory  )  [inline]
 

Definition at line 31 of file generic_context.hpp.


Member Function Documentation

virtual bool ph::xmlobj::generic::generic_context::register_objects  )  [inline, virtual]
 

Definition at line 36 of file generic_context.hpp.

ph::common::object_base * generic_context::create const std::string &  type,
const std::string &  name
[virtual]
 

Definition at line 13 of file generic_context.cpp.


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