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 00030 class CPPCACHE_EXPORT ResultSet : public SelectResults 00031 { 00032 00033 public: 00034 00040 virtual bool isModifiable() const = 0; 00041 00047 virtual size_t size() const = 0; 00048 00056 virtual const SerializablePtr operator [] (size_t index) const = 0; 00057 00063 virtual SelectResultsIterator getIterator() = 0; 00064 00068 virtual ~ResultSet() {}; 00069 00070 }; 00071 00072 } //namespace gemfire 00073 00074 #endif //ifndef __GEMFIRE_RESULTSET_H__