00001
00002
00003
00004
00005
00006
00007
00008 #ifndef incGENERIC_CONTEXT
00009 #define incGENERIC_CONTEXT
00010
00011
00012 #include "../xmlobj_context.hpp"
00013
00014 namespace ph {
00015 namespace xmlobj {
00016 namespace generic {
00017
00018 class XMLOBJ_DECL generic_context : public xmlobj_context
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 {
00030 public:
00031 generic_context(reflect::object_navigator_factory *navfactory) :
00032 xmlobj_context(navfactory)
00033 {};
00034
00035
00036 virtual bool register_objects()
00037 { return true; }
00038
00039
00040 virtual ph::common::object_base *create(
00041 const std::string &type, const std::string &name);
00042 };
00043
00044 };
00045 };
00046 };
00047
00048 #endif // incGENERIC_CONTEXT