Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gql++/mod-result-set.h

Go to the documentation of this file.
00001 /* This is for emacs: -*-Mode: C++;-*- */
00002 #if !defined(__INC_MODRESULTSET_H)
00003 #define __INC_MODRESULTSET_H
00004 
00005 #include "glib.h"
00006 
00007 #include "gql++/result-set.h"
00008 
00009 namespace GQL
00010 {
00011 
00012 class ModResultSet : public ResultSet
00013 {
00014   public:
00015     ModResultSet(int cols, int rows = 0);
00016     virtual ~ModResultSet();
00017     
00018     virtual bool next() throw(SQLException);
00019     
00020     virtual void get(int i, SQLObject *obj) const throw(SQLException);
00021     virtual ResultSetMetaData *get_meta_data() { return(0); } // XXX Quick hack
00022 
00023     void append(const string **tuple);
00024   private:
00025     int cols_;
00026     int rowno_;
00027     vector<string **> rows_;
00028 };
00029 
00030 }
00031 
00032 #endif

Generated on Fri Apr 19 03:23:48 2002 for gql by doxygen1.2.15