/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/row.h

  • Committer: edam
  • Date: 2010-07-23 09:17:03 UTC
  • Revision ID: edam@waxworlds.org-20100723091703-3siqjj6eeux9hupz
- added NEWS
- added library checks to configure.ac
- added query::iterators
- remove dependency that rows have on querys (since querys have to be dependent on rows for boost::iterator_facade to work)
- rows now have the handle to the sqlite3 statement and know a count of their row number
- added convenience function tht can be used to detect presence of sqlite3cc in other packages
- updated test-main
- renamed all subdir.mk files to emake.mk

Show diffs side-by-side

added added

removed removed

36
36
{
37
37
 
38
38
 
 
39
struct _null_t;
 
40
struct _set_index_t;
39
41
class query;
40
 
namespace detail {
41
 
        struct null_t;
42
 
        struct set_index_t;
43
 
}
44
42
 
45
43
 
46
44
/**
168
166
         * Stream operator for use with set_index().
169
167
         */
170
168
        row &operator >>(
171
 
                detail::set_index_t t );
 
169
                _set_index_t t );
172
170
 
173
171
//______________________________________________________________________________
174
172
//                                                                implementation
182
180
        /** index used when auto-column-getting */
183
181
        unsigned int _column_index;
184
182
 
185
 
        /** the index of this row */
 
183
        /** the index of thi row */
186
184
        unsigned long long _index;
187
185
 
188
186
};
190
188
 
191
189
// template specialisations
192
190
template< >
193
 
row &row::operator >> < detail::null_t >(
194
 
        detail::null_t & );
 
191
row &row::operator >> < _null_t >(
 
192
        _null_t & );
195
193
 
196
194
 
197
195
} // namespace sqlite