00001 // See ../../license.txt for license information. 00002 // 00003 // context.hpp 00004 // 00005 // 4-Jul-2003 phamilton Created 00006 // 00007 00008 #ifndef incCONTEXT 00009 #define incCONTEXT 00010 00011 // forwards 00012 #include "../../common/persistable_object.hpp" 00013 00014 namespace persist_test { 00015 00016 class context : public ph::common::persistable_object_context 00017 { 00018 // persistable_object_context overrides 00019 virtual ph::common::object_base *create( 00020 const std::string &type, 00021 const std::string &name); 00022 00023 virtual ph::common::object_base *find_object( 00024 ph::common::object_base *root, 00025 ph::common::object_base *obj, 00026 const std::string &location); 00027 virtual ph::common::object_base *find_composite_object( 00028 ph::common::object_base *root, 00029 ph::common::object_base *obj, 00030 const std::string &location); 00031 }; 00032 00033 }; 00034 00035 #endif // incCONTEXT