20#ifndef GEODE_WRITABLEPDXINSTANCE_H_
21#define GEODE_WRITABLEPDXINSTANCE_H_
25#include "PdxInstance.hpp"
26#include "Serializable.hpp"
32class CacheableObjectArray;
58 virtual void setField(
const std::string& fieldName,
59 std::shared_ptr<Cacheable> value) = 0;
74 virtual void setField(
const std::string& fieldName,
bool value) = 0;
93 virtual void setField(
const std::string& fieldName,
signed char value) = 0;
112 virtual void setField(
const std::string& fieldName,
unsigned char value) = 0;
127 virtual void setField(
const std::string& fieldName, int16_t value) = 0;
142 virtual void setField(
const std::string& fieldName, int32_t value) = 0;
157 virtual void setField(
const std::string& fieldName, int64_t value) = 0;
172 virtual void setField(
const std::string& fieldName,
float value) = 0;
187 virtual void setField(
const std::string& fieldName,
double value) = 0;
202 virtual void setField(
const std::string& fieldName,
char16_t value) = 0;
219 virtual void setField(
const std::string& fieldName,
220 std::shared_ptr<CacheableDate> value) = 0;
235 virtual void setField(
const std::string& fieldName,
236 const std::vector<bool>& value) = 0;
251 virtual void setField(
const std::string& fieldName,
252 const std::vector<int8_t>& value) = 0;
267 virtual void setField(
const std::string& fieldName,
268 const std::vector<int16_t>& value) = 0;
283 virtual void setField(
const std::string& fieldName,
284 const std::vector<int32_t>& value) = 0;
299 virtual void setField(
const std::string& fieldName,
300 const std::vector<int64_t>& value) = 0;
315 virtual void setField(
const std::string& fieldName,
316 const std::vector<float>& value) = 0;
331 virtual void setField(
const std::string& fieldName,
332 const std::vector<double>& value) = 0;
347 virtual void setField(
const std::string& fieldName,
348 const std::string& value) = 0;
363 virtual void setField(
const std::string& fieldName,
364 const std::vector<char16_t>& value) = 0;
381 virtual void setField(
const std::string& fieldName, std::string* value,
401 virtual void setField(
const std::string& fieldName, int8_t** value,
402 int32_t arrayLength, int32_t* elementLength) = 0;
419 virtual void setField(
const std::string& fieldName,
420 std::shared_ptr<CacheableObjectArray> value) = 0;
PdxInstance provides run time access to the fields of a PDX without deserializing the PDX.
Definition: PdxInstance.hpp:51
WritablePdxInstance is a PdxInstance that also supports field modification using the setField method.
Definition: WritablePdxInstance.hpp:40
virtual void setField(const std::string &fieldName, float value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< float > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, std::shared_ptr< Cacheable > value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< int8_t > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< bool > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, int64_t value)=0
Set the existing named field to the given value.
WritablePdxInstance()=default
constructors
virtual void setField(const std::string &fieldName, const std::vector< int16_t > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< char16_t > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, char16_t value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, std::string *value, int32_t length)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, signed char value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, bool value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, unsigned char value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, int32_t value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< double > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< int64_t > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::string &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, int16_t value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, std::shared_ptr< CacheableDate > value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, const std::vector< int32_t > &value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, std::shared_ptr< CacheableObjectArray > value)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, int8_t **value, int32_t arrayLength, int32_t *elementLength)=0
Set the existing named field to the given value.
virtual void setField(const std::string &fieldName, double value)=0
Set the existing named field to the given value.