blob: 761f6d3338321d994e56bb4d04a64470cc5e8ed7 [file] [log] [blame]
/*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://www.pivotal.io/patents.
*=========================================================================
*/
#ifndef __DSMemberForVersionStamp_HPP__
#define __DSMemberForVersionStamp_HPP__
#include "../gfcpp_globals.hpp"
#include "../CacheableKey.hpp"
#include <string>
namespace gemfire
{
class DSMemberForVersionStamp;
typedef SharedPtr<DSMemberForVersionStamp> DSMemberForVersionStampPtr;
class DSMemberForVersionStamp : public CacheableKey
{
public:
virtual int16_t compareTo(DSMemberForVersionStampPtr tagID) = 0;
virtual std::string getHashKey() = 0;
/** return true if this key matches other. */
virtual bool operator==( const CacheableKey& other ) const = 0;
/** return the hashcode for this key. */
virtual uint32_t hashcode( ) const = 0;
};
}
#endif // __DSMemberForVersionStamp_HPP__