E:/gfcppsancout/product/include/gfcpp/SelectResults.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_SELECTRESULTS_H__
00002 #define __GEMFIRE_SELECTRESULTS_H__
00003 /*=========================================================================
00004  * (c) Copyright 2002-2006, GemStone Systems, Inc. All Rights Reserved.
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *========================================================================
00007  */
00008 
00013 #include "gfcpp_globals.hpp"
00014 #include "gf_types.hpp"
00015 #include "ExceptionTypes.hpp"
00016 #include "Serializable.hpp"
00017 #include "CacheableBuiltins.hpp"
00018 namespace gemfire
00019 {
00020 
00021 class SelectResultsIterator ;
00022 
00029 class CPPCACHE_EXPORT SelectResults : public SharedBase
00030 {
00031 
00032 public:
00033 
00039   virtual bool isModifiable() const = 0;
00040 
00046   virtual int32_t size() const = 0;
00047 
00055   virtual const SerializablePtr operator [] (int32_t index) const = 0;
00056 
00062   virtual SelectResultsIterator getIterator() = 0;
00063 
00065   typedef CacheableVector::Iterator Iterator;
00066 
00068   virtual Iterator begin( ) const = 0;
00069 
00071   virtual Iterator end( ) const = 0;
00072 };
00073 
00074 } //namespace gemfire
00075 
00076 #endif //ifndef __GEMFIRE_SELECTRESULTS_H__

GemFire C++ Cache API Documentation