/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-29 06:39:13 UTC
  • Revision ID: edam@waxworlds.org-20100729063913-wvcvkogsa2alwkhr
- moved basic_statement::operator <<() back to basic_statement and just create another specialisation in command so that it can use sqlite::exec

Show diffs side-by-side

added added

removed removed

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