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

fields.h

Go to the documentation of this file.
00001 #ifndef MYSQLPP_FIELDS_H
00002 #define MYSQLPP_FIELDS_H
00003 
00007 
00008 #include "resiter.h"
00009 
00010 namespace mysqlpp {
00011 
00012 class ResUse;
00013 
00016 class Fields : public const_subscript_container<Fields, Field>
00017 {
00018 private:
00019   mutable ResUse *res;
00020 public:
00021   Fields() {}
00022   Fields(ResUse *r) : res(r) {}
00023   size_type size() const; 
00024 
00026   const Field& operator [] (size_type i) const;
00027   const Field& operator [] (int i) const {return operator [](size_type(i));} 
00028 };
00029 
00030 } // end namespace mysqlpp
00031 
00032 #endif
00033 

Generated on Thu May 5 05:30:43 2005 for MySQL++ by doxygen1.2.18