home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / sdsstat.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  1.3 KB  |  48 lines

  1. /****************************************************************************/
  2. /* File:   sdsstat.hpp                                                      */
  3. /* Class:                                                                   */
  4. /*         IDSStatement                                                     */
  5. /*                                                                          */
  6. /****************************************************************************/
  7.  
  8. /***********************************************
  9.  
  10.     Licensed Materials - Property of IBM
  11.  
  12.     5622-880   5801-AAR
  13.  
  14.     (c) Copyright IBM Corp 1991, 1996.
  15.  
  16. ************************************************/
  17.  
  18. #ifndef _SDSSTAT_HPP_
  19. #define _SDSSTAT_HPP_
  20.  
  21. #include <iseq.h>
  22. #include <istring.hpp>
  23. #include "sdsclbsq.hpp"
  24. #include "sdspmbsq.hpp"
  25. #include "sdssqlst.hpp"
  26. #include "idaenv.hpp"
  27. #include "idsexc.hpp"
  28.  
  29. class _Export IDSStatement
  30. {
  31.   public:
  32.     IDSStatement( const char* aStatement, DatastoreDB2* aDatastore );
  33.     IDSStatement( const char* aStatement, DatastoreODBC* aDatastore );
  34.     ~IDSStatement();
  35.  
  36.     virtual IDSStatement& execute() = 0;
  37.  
  38.   protected:
  39.     IDSParameterBufferSequence parameterBuffers;
  40.     IDSColumnBufferSequence columnBuffers;
  41.     const IString iStatement;
  42.     ISQLStatement* iSQLStatement;
  43. };
  44.  
  45. #include "sdsstat.inl"
  46.  
  47. #endif
  48.