20#ifndef GEODE_CACHEABLEFILENAME_H_
21#define GEODE_CACHEABLEFILENAME_H_
26#include "CacheableString.hpp"
27#include "internal/geode_globals.hpp"
56 void toData(
DataOutput& output)
const override;
58 virtual void fromData(
DataInput& input)
override;
60 virtual DSCode getDsCode()
const override;
66 return std::make_shared<CacheableFileName>();
73 static std::shared_ptr<CacheableFileName>
create(
const std::string& value) {
74 return std::make_shared<CacheableFileName>(value);
Implements an immutable wrapper for filenames that can serve as a distributable filename object for c...
Definition: CacheableFileName.hpp:45
static std::shared_ptr< Serializable > createDeserializable()
creation function for filenames.
Definition: CacheableFileName.hpp:65
virtual int32_t hashcode() const override
return the hashcode for this key.
static std::shared_ptr< CacheableFileName > create(const std::string &value)
Factory method for creating an instance of CacheableFileName from a C string optionally given the len...
Definition: CacheableFileName.hpp:73
Implement a immutable C string wrapper that can serve as a distributable key object for caching as we...
Definition: CacheableString.hpp:40
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:59
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:48