Pivotal GemFire Native Client Cache Reference  9.0.6
CacheableUndefined.hpp
Go to the documentation of this file.
1 #ifndef _GEMFIRE_CACHEABLEUNDEFINED_HPP_
2 #define _GEMFIRE_CACHEABLEUNDEFINED_HPP_
3 
4 
5 /*=========================================================================
6  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
7  * This product is protected by U.S. and international copyright
8  * and intellectual property laws. Pivotal products are covered by
9  * more patents listed at http://www.pivotal.io/patents.
10  *=========================================================================
11  */
12 
13 #include "gfcpp_globals.hpp"
14 #include "gf_types.hpp"
15 #include "Cacheable.hpp"
16 
17 
21 namespace gemfire
22 {
23 
28  : public Cacheable
29  {
30  public:
31 
35  virtual void toData( DataOutput& output ) const;
36 
40  virtual Serializable* fromData( DataInput& input );
41 
46  {
47  return new CacheableUndefined( );
48  }
49 
55  virtual int32_t classId( ) const;
56 
62  virtual int8_t typeId( ) const;
63 
68  virtual int8_t DSFID( ) const;
69 
73  inline static CacheableUndefinedPtr create( )
74  {
76  }
77 
78  virtual uint32_t objectSize( ) const;
79 
80 
81  protected:
82 
84  inline CacheableUndefined( ) { }
85 
86 
87  private:
88 
89  // never implemented.
90  CacheableUndefined& operator = ( const CacheableUndefined& other );
91  CacheableUndefined( const CacheableUndefined& other );
92  };
93 
94 }
95 
96 
97 #endif // _GEMFIRE_CACHEABLEUNDEFINED_HPP_
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:62
static CacheableUndefinedPtr create()
Factory method for creating the default instance of CacheableUndefined.
Definition: CacheableUndefined.hpp:73
Encapsulate an undefined query result.
Definition: CacheableUndefined.hpp:27
CacheableUndefined()
Constructor, used for deserialization.
Definition: CacheableUndefined.hpp:84
static Serializable * createDeserializable()
creation function for undefined query result
Definition: CacheableUndefined.hpp:45
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:39
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:44
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation