diff options
author | randomdan <randomdan@localhost> | 2010-08-24 20:41:54 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-08-24 20:41:54 +0000 |
commit | 64992fdf169c55f8575e9d3926a66d8bb90f39d2 (patch) | |
tree | e24f74a9b227d13ee91c55d65e47d983cb0cd179 /project2/sqlCheck.h | |
parent | Add option to use a temporary view instead of a table to reduce WAL churn dur... (diff) | |
download | project2-64992fdf169c55f8575e9d3926a66d8bb90f39d2.tar.bz2 project2-64992fdf169c55f8575e9d3926a66d8bb90f39d2.tar.xz project2-64992fdf169c55f8575e9d3926a66d8bb90f39d2.zip |
Whole new low dependency object loader
Switch to using intrusive_ptr in cases where the class is mine
Remove deps of funtional type base cpp files on implementation headers
General tidy up in places
Post load event and removal of mutable things initialised on first run
Diffstat (limited to 'project2/sqlCheck.h')
-rw-r--r-- | project2/sqlCheck.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/project2/sqlCheck.h b/project2/sqlCheck.h index a5a5ae0..0c5efcc 100644 --- a/project2/sqlCheck.h +++ b/project2/sqlCheck.h @@ -4,19 +4,24 @@ #include "paramChecker.h" #include "iHaveParameters.h" +namespace ODBC { class SelectCommand; } + class _SqlCheck : public IHaveParameters, public _ParamChecker { public: _SqlCheck(const xmlpp::Element * p); virtual ~_SqlCheck(); - bool performCheck(const ApplicationEngine *) const; + virtual void loadComplete(); + bool performCheck() const; const std::string dataSource; const Glib::ustring sql; const std::string testOp; const double testValue; + private: + ODBC::SelectCommand * query; }; -typedef boost::shared_ptr<_SqlCheck> SqlCheck; +typedef boost::intrusive_ptr<_SqlCheck> SqlCheck; typedef std::map<std::string, SqlCheck> SqlChecks; #endif |