3 #ifndef GEODE_CACHEABLEKEY_H_ 4 #define GEODE_CACHEABLEKEY_H_ 23 #include "geode_globals.hpp" 46 virtual bool operator==(
const CacheableKey& other)
const = 0;
49 virtual int32_t hashcode()
const = 0;
59 virtual int32_t logString(
char* buffer, int32_t maxLength)
const;
81 template <
typename TKEY>
87 #endif // GEODE_CACHEABLEKEY_H_ Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
virtual ~CacheableKey()
Destructor.
Definition: CacheableKey.hpp:42
CacheableKey()
Constructor.
Definition: CacheableKey.hpp:39
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:53
Represents a cacheable key.
Definition: CacheableKey.hpp:36
This namespace contains all the Geode C++ API classes, enumerations and globals.