MCPcopy Create free account
hub / github.com/davisking/dlib / move_next

Method move_next

dlib/sqlite/sqlite.h:177–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 bool move_next (
178 )
179 {
180 if (step_status == SQLITE_ROW)
181 {
182 if (at_first_step)
183 {
184 at_first_step = false;
185 return true;
186 }
187 else
188 {
189 step_status = sqlite3_step(stmt);
190 if (step_status == SQLITE_DONE)
191 {
192 return false;
193 }
194 else if (step_status == SQLITE_ROW)
195 {
196 return true;
197 }
198 else
199 {
200 throw sqlite_error(sqlite3_errmsg(db.get()));
201 }
202 }
203 }
204 else
205 {
206 return false;
207 }
208 }
209
210 unsigned long get_num_columns(
211 ) const

Callers 15

select_imageMethod · 0.45
start_elementMethod · 0.45
mainFunction · 0.45
htmlifyFunction · 0.45
add_filesFunction · 0.45
serializeFunction · 0.45
get_stack_traceFunction · 0.45
hostname_to_ipFunction · 0.45
operator<Method · 0.45
operator==Method · 0.45
move_nextMethod · 0.45

Calls 2

sqlite_errorClass · 0.70
getMethod · 0.45

Tested by 15

stack_kernel_testFunction · 0.36
static_map_kernel_testFunction · 0.36
array2d_kernel_testFunction · 0.36
sequence_sort_testFunction · 0.36
test_border_enumeratorFunction · 0.36
hash_map_kernel_testFunction · 0.36
queue_sort_testFunction · 0.36
set_compare_testFunction · 0.36
hash_table_kernel_testFunction · 0.36
test_filtering2Function · 0.36