build-artifacts/win/product/include/gfcpp/Delta.hpp

Go to the documentation of this file.
00001 #ifndef DELTA_HPP_
00002 #define DELTA_HPP_
00003 
00004 /*=========================================================================
00005  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00006  * This product is protected by U.S. and international copyright
00007  * and intellectual property laws. Pivotal products are covered by
00008  * more patents listed at http://www.pivotal.io/patents.
00009  *========================================================================
00010  */
00011 
00016 #include "Cacheable.hpp"
00017 #include "DataInput.hpp"
00018 #include "DataOutput.hpp"
00019 namespace gemfire {
00020 
00029   class Delta {
00030 
00031   public:
00032 
00038     virtual bool hasDelta( ) = 0;
00039 
00047     virtual void toDelta( DataOutput& out ) const = 0;
00048 
00058     virtual void fromDelta( DataInput& in ) = 0;
00059 
00066     virtual DeltaPtr clone( );
00067 
00068     virtual ~Delta()
00069     {
00070     }
00071   };
00072 
00073 } //namespace gemfire
00074 
00075 #endif /* DELTA_HPP_ */

GemFire C++ Cache API Documentation