00001 #ifndef __DURABLESTOREKEY_H__ 00002 #define __DURABLESTOREKEY_H__ 00003 00004 #include <string> 00005 00006 #include "../serialize/Serialize.h" 00007 00008 namespace oasys { 00009 00014 class DurableStoreKey : public SerializableObject { 00015 public: 00019 virtual int compare(const DurableStoreKey& other) = 0; 00020 00026 virtual std::string as_ascii() = 0; 00027 00031 virtual bool from_ascii(const std::string& ascii) = 0; 00032 }; 00033 00034 } // namespace oasys 00035 00036 #endif /* __DURABLESTOREKEY_H__ */