TResultInputStream.hxx

Go to the documentation of this file.
00001 #ifndef TResultInputStream_hxx_seen
00002 #define TResultInputStream_hxx_seen
00003 
00004 #include "TDbiInRowStream.hxx"
00005 class TVldTimeStamp;
00006 
00007     class TResultInputStream;
00008 
00009 /// This is the class used to fill table rows from query results.
00010 
00011 class TResultInputStream {
00012 
00013 public:
00014 
00015     TResultInputStream(TDbiInRowStream& rs) : fResultSet(rs) {}
00016     virtual ~TResultInputStream() {};
00017 
00018     template <class T> TResultInputStream& operator>>(T& dest) {
00019         fResultSet >> dest; 
00020         return *this;
00021     }
00022 
00023 private:
00024 
00025     TDbiInRowStream& fResultSet;
00026     ClassDef(TResultInputStream,1)
00027 
00028 };
00029 
00030 #endif

Generated on 11 Aug 2013 for SKDatabase by  doxygen 1.6.1