VMware Tanzu GemFire Native C++ Reference
10.1.5
|
Go to the documentation of this file.
20 #ifndef GEODE_CACHEABLEFILENAME_H_
21 #define GEODE_CACHEABLEFILENAME_H_
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);
85 #endif // GEODE_CACHEABLEFILENAME_H_
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:43
static std::shared_ptr< Serializable > createDeserializable()
creation function for filenames.
Definition: CacheableFileName.hpp:65
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:48
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:59
Implements an immutable wrapper for filenames that can serve as a distributable filename object for c...
Definition: CacheableFileName.hpp:45
virtual int32_t hashcode() const override
return the hashcode for this key.
Apache Geode C++ Cache API Documentation