build-artifacts/win/product/include/gfcpp/StructSet.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_STRUCTSET_H__
00002 #define __GEMFIRE_STRUCTSET_H__
00003 /*=========================================================================
00004  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *========================================================================
00009  */
00010 
00011 #include "gfcpp_globals.hpp"
00012 #include "gf_types.hpp"
00013 
00014 #include "CqResults.hpp"
00015 #include "Struct.hpp"
00016 
00017 #include "SelectResultsIterator.hpp"
00018 
00023 namespace gemfire
00024 {
00032 class CPPCACHE_EXPORT StructSet : public CqResults
00033 {
00034 
00035 public:
00036 
00042   virtual bool isModifiable() const = 0;
00043 
00049   virtual int32_t size() const = 0;
00050 
00058   virtual const SerializablePtr operator [] (int32_t index) const = 0;
00059 
00067   virtual int32_t getFieldIndex(const char * fieldname) = 0;
00068 
00075   virtual const char * getFieldName(int32_t index) = 0;
00076   
00082   virtual SelectResultsIterator getIterator() = 0;
00083 
00087   virtual ~StructSet() {};
00088 
00089 };
00090 
00091 } //namespace gemfire
00092 
00093 #endif //ifndef __GEMFIRE_STRUCTSET_H__

GemFire C++ Cache API Documentation