/export/leeloo1/users/build/gfcppsancout64/product/include/gfcpp/Delta.hpp

Go to the documentation of this file.
00001 #ifndef DELTA_HPP_
00002 #define DELTA_HPP_
00003 
00004 /*=========================================================================
00005  * (c) Copyright 2002-2007, GemStone Systems, Inc. All Rights Reserved.
00006  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00007  *========================================================================
00008  */
00009 
00014 #include "Cacheable.hpp"
00015 #include "DataInput.hpp"
00016 #include "DataOutput.hpp"
00017 namespace gemfire {
00018 
00027   class Delta {
00028 
00029   public:
00030 
00036     virtual bool hasDelta( ) = 0;
00037 
00045     virtual void toDelta( DataOutput& out ) const = 0;
00046 
00056     virtual void fromDelta( DataInput& in ) = 0;
00057 
00064     virtual DeltaPtr clone( );
00065 
00066     virtual ~Delta()
00067     {
00068     }
00069   };
00070 
00071 } //namespace gemfire
00072 
00073 #endif /* DELTA_HPP_ */

GemFire C++ Cache API Documentation