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

InsertQBox.h

Go to the documentation of this file.
00001 #ifndef INSERT_QBOX_H 00002 #define INSERT_QBOX_H 00003 00004 #include "QBox.h" 00005 #include "Table.h" 00006 #include "SQLInsert.h" 00007 00008 BOREALIS_NAMESPACE_BEGIN; 00009 00010 class InsertQBox : public QBox { 00011 00012 private: 00013 ptr<SQLInsert> _sql; 00014 Table *_table; 00015 EvalContext _ctxt; 00016 size_t _row_size; 00017 char *_row_buf; 00018 bool _pass_input; 00019 size_t _input_tuple_size; 00020 00021 protected: 00022 void setupImpl() throw (AuroraException); 00023 void initImpl() throw (AuroraException); 00024 void runImpl(QBoxInvocation&) throw (AuroraException); 00025 00026 public: 00027 InsertQBox() : _row_buf(0) {} 00028 ~InsertQBox() { delete[] _row_buf; } 00029 00030 AURORA_DECLARE_QBOX(InsertQBox, "insert"); 00031 }; 00032 00033 BOREALIS_NAMESPACE_END; 00034 00035 #endif

Generated on Fri Nov 12 15:15:21 2004 for Borealis by doxygen 1.3.8