00001 #ifndef __GEMFIRE_RESULTSET_H__ 00002 #define __GEMFIRE_RESULTSET_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 00009 #include "gfcpp_globals.hpp" 00010 #include "gf_types.hpp" 00011 #include "ExceptionTypes.hpp" 00012 00013 #include "SelectResults.hpp" 00014 #include "VectorT.hpp" 00015 00016 #include "SelectResultsIterator.hpp" 00017 00022 namespace gemfire 00023 { 00024 00034 class CPPCACHE_EXPORT ResultSet : public SelectResults 00035 { 00036 00037 public: 00038 00047 virtual bool isModifiable() const = 0; 00048 00057 virtual size_t size() const = 0; 00058 00069 virtual const SerializablePtr operator [] (size_t index) const = 0; 00070 00079 virtual SelectResultsIterator getIterator() = 0; 00080 00084 virtual ~ResultSet() {}; 00085 00086 }; 00087 00088 } //namespace gemfire 00089 00090 #endif //ifndef __GEMFIRE_RESULTSET_H__