3 #ifndef GEODE_CACHEABLEFILENAME_H_ 4 #define GEODE_CACHEABLEFILENAME_H_ 23 #include "geode_globals.hpp" 57 virtual int32_t classId()
const;
64 virtual int8_t typeId()
const;
81 str->initString(value, len);
94 str->initString(value, len);
100 virtual const char*
className()
const {
return "CacheableFileName"; }
103 virtual int32_t hashcode()
const;
115 mutable int m_hashcode;
121 #endif // GEODE_CACHEABLEFILENAME_H_ Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
virtual const char * className() const
get the name of the class of this object for logging purpose
Definition: CacheableFileName.hpp:100
CacheableFileName()
Default constructor.
Definition: CacheableFileName.hpp:107
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
Implement an immutable wrapper for filenames that can serve as a distributable filename object for ca...
Definition: CacheableFileName.hpp:38
static CacheableFileNamePtr create(const wchar_t *value, int32_t len=0)
Factory method for creating an instance of CacheableFileName from a wide-character C string optionall...
Definition: CacheableFileName.hpp:90
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:74
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:52
Implement a immutable C string wrapper that can serve as a distributable key object for caching as we...
Definition: CacheableString.hpp:45
static CacheableFileNamePtr create(const char *value, int32_t len=0)
Factory method for creating an instance of CacheableFileName from a C string optionally given the len...
Definition: CacheableFileName.hpp:77
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:53
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:56
static Serializable * createDeserializable()
creation function for filenames.
Definition: CacheableFileName.hpp:69
This namespace contains all the Geode C++ API classes, enumerations and globals.