H:/gfcppsancout/product/include/gfcpp/StructSet.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_STRUCTSET_H__
00002 #define __GEMFIRE_STRUCTSET_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 
00012 #include "SelectResults.hpp"
00013 #include "Struct.hpp"
00014 
00015 #include "SelectResultsIterator.hpp"
00016 
00021 namespace gemfire
00022 {
00030 class CPPCACHE_EXPORT StructSet : 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 
00065   virtual size_t getFieldIndex(const char * fieldname) = 0;
00066 
00073   virtual const char * getFieldName(size_t index) = 0;
00074   
00080   virtual SelectResultsIterator getIterator() = 0;
00081 
00085   virtual ~StructSet() {};
00086 
00087 };
00088 
00089 } //namespace gemfire
00090 
00091 #endif //ifndef __GEMFIRE_STRUCTSET_H__

GemFire C++ Cache API Documentation