00001 /* Copyright (c) 2007, Gennady Bystritsky <bystr@mac.com> 00002 * 00003 * Distributed under the MIT Licence. 00004 * This is free software. See 'LICENSE' for details. 00005 * You must read and accept the license prior to use. 00006 */ 00007 00008 #ifndef _SK_RT_CONFIG_UPROOTLOCATOR_ 00009 #define _SK_RT_CONFIG_UPROOTLOCATOR_ 00010 00011 #include <sk/rt/config/SpotLocator.h> 00012 00013 namespace sk { 00014 namespace rt { 00015 namespace config { 00016 class UprootLocator 00017 : public SpotLocator 00018 { 00019 public: 00020 UprootLocator(const sk::util::String& item, const sk::util::String& location, const SpotLocator& other); 00021 UprootLocator(const sk::util::String& item, const sk::util::String& location); 00022 virtual ~UprootLocator(); 00023 00024 // sk::util::Object re-implementation. 00025 const sk::util::Class getClass() const; 00026 00027 private: 00028 UprootLocator& operator = (const UprootLocator& other); 00029 00030 static const SpotLocator figureLocator(const sk::util::String& item, const sk::util::String& location, const SpotLocator& other); 00031 }; 00032 } 00033 } 00034 } 00035 00036 #endif /* _SK_RT_CONFIG_UPROOTLOCATOR_ */