Pivotal GemFire Native Client Cache Reference  9.0.6
WritablePdxInstance.hpp
1 #ifndef __WRITABLE_PDXINSTANCE_HPP_
2 #define __WRITABLE_PDXINSTANCE_HPP_
3 
4 /*=========================================================================
5 * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
6  * This product is protected by U.S. and international copyright
7  * and intellectual property laws. Pivotal products are covered by
8  * more patents listed at http://www.pivotal.io/patents.
9 *========================================================================
10 */
11 
12 #include "SharedPtr.hpp"
13 #include "Cacheable.hpp"
14 
15 #include "PdxInstance.hpp"
16 
17 namespace gemfire {
18 
25  {
30  public:
35  }
36 
50  virtual void setField(const char* fieldName, CacheablePtr value) = 0;
51 
65  virtual void setField(const char* fieldName, bool value) = 0;
66 
82  virtual void setField(const char* fieldName, signed char value) = 0;
83 
99  virtual void setField(const char* fieldName, unsigned char value) = 0;
100 
114  virtual void setField(const char* fieldName, int16_t value) = 0;
115 
129  virtual void setField(const char* fieldName, int32_t value) = 0;
130 
144  virtual void setField(const char* fieldName, int64_t value) = 0;
145 
159  virtual void setField(const char* fieldName, float value) = 0;
160 
174  virtual void setField(const char* fieldName, double value) = 0;
175 
189  virtual void setField(const char* fieldName, wchar_t value) = 0;
190 
204  virtual void setField(const char* fieldName, char value) = 0;
205 
219  virtual void setField(const char* fieldName, CacheableDatePtr value) = 0;
220 
236  virtual void setField(const char* fieldName, bool* value, int32_t length) = 0;
237 
255  virtual void setField(const char* fieldName, signed char* value, int32_t length) = 0;
256 
274  virtual void setField(const char* fieldName, unsigned char* value, int32_t length) = 0;
275 
291  virtual void setField(const char* fieldName, int16_t* value, int32_t length) = 0;
292 
308  virtual void setField(const char* fieldName, int32_t* value, int32_t length) = 0;
309 
325  virtual void setField(const char* fieldName, int64_t* value, int32_t length) = 0;
326 
342  virtual void setField(const char* fieldName, float* value, int32_t length) = 0;
343 
359  virtual void setField(const char* fieldName, double* value, int32_t length) = 0;
360 
374  virtual void setField (const char* fieldName, const wchar_t* value) = 0;
375 
389  virtual void setField (const char* fieldName, const char* value) = 0;
390 
406  virtual void setField(const char* fieldName, wchar_t* value, int32_t length) = 0;
407 
423  virtual void setField(const char* fieldName, char* value, int32_t length) = 0;
424 
440  virtual void setField(const char* fieldName, wchar_t** value, int32_t length) = 0;
441 
457  virtual void setField(const char* fieldName, char** value, int32_t length) = 0;
458 
476  virtual void setField(const char* fieldName, int8_t** value, int32_t arrayLength, int32_t* elementLength) = 0;
477 
491  virtual void setField(const char* fieldName, CacheableObjectArrayPtr value) = 0;
492 
493  protected:
498 
499  private:
500  // never implemented.
502  void operator =(const WritablePdxInstance& other);
503 
504  };
505 }
506 
507 #endif /* __WRITABLE_PDXINSTANCE_HPP_ */
WritablePdxInstance()
constructors
Definition: WritablePdxInstance.hpp:497
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
PdxInstance provides run time access to the fields of a PDX without deserializing the PDX...
Definition: PdxInstance.hpp:34
WritablePdxInstance is a PdxInstance that also supports field modification using the setField method...
Definition: WritablePdxInstance.hpp:24
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
virtual ~WritablePdxInstance()
public methods
Definition: WritablePdxInstance.hpp:34
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation