/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/command.h

  • Committer: edam
  • Date: 2010-01-28 12:21:03 UTC
  • Revision ID: edam@waxworlds.org-20100128122103-v3gs6hro5h7ffnhb
- further initial development
- basic support for: queries, rows (query results)
- filename, comment header and project name consistency

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
 
27
27
#include <sqlite3cc/basic_statement.h>
 
28
#include <boost/thread/recursive_mutex.hpp>
28
29
 
29
30
 
30
31
namespace sqlite
82
83
         * @return an sqlite error code
83
84
         * @see sqlite3_step()
84
85
         */
85
 
        int step();
 
86
        virtual int step();
86
87
 
87
88
        /**
88
89
         * Execute the command. This is the same as doing a step().
139
140
        /** the rowid of the last successful insert command */
140
141
        long long _last_insert_rowid;
141
142
 
 
143
        /** exclusive use during command mutex */
 
144
        static boost::recursive_mutex _command_mutex;
 
145
 
142
146
};
143
147
 
144
148
 
145
 
// template specialisations for basic_statement::operator <<()
146
 
template< >
147
 
basic_statement &basic_statement::operator << < detail::exec_t >(
148
 
        const detail::exec_t & );
149
 
 
150
 
 
151
149
} // namespace sqlite
152
150
 
153
151