1 #ifndef _GEMFIRE_CACHEABLEDATE_HPP_ 2 #define _GEMFIRE_CACHEABLEDATE_HPP_ 10 #include "gfcpp_globals.hpp" 14 #include "GemfireTypeIds.hpp" 19 #define GF_LOCALTIME(X,Y) localtime_s(Y,X) 22 #if defined(_LINUX) || defined(_SOLARIS) || defined(_MACOSX) 23 #define GF_LOCALTIME(X,Y) localtime_r(X,Y) 41 struct timeval m_timevalue;
49 virtual void toData(
DataOutput& output )
const;
66 virtual int32_t classId( )
const;
73 virtual int8_t typeId( )
const;
81 virtual bool operator==(
const CacheableKey& other )
const;
84 virtual int day()
const;
87 virtual int month()
const;
90 virtual int year()
const;
93 virtual int64_t milliseconds()
const;
96 virtual uint32_t hashcode( )
const;
122 virtual int32_t logString(
char* buffer, int32_t maxLength )
const;
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:62
Represents a cacheable key.
Definition: CacheableKey.hpp:23
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
Implement a date object based on system epoch that can serve as a distributable key object for cachin...
Definition: CacheableDate.hpp:36
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:39
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
static CacheableDatePtr create()
Factory method for creating an instance of CacheableDate.
Definition: CacheableDate.hpp:101
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35
virtual uint32_t objectSize() const
Definition: CacheableDate.hpp:76