ROSE  0.11.54.0
Public Member Functions | List of all members
SqlDatabase::Statement::iterator Class Reference

Description

Iterates over the result rows.

Statement iterators are very restricted compared to normal C++ STL iterators because statement iterators access result rows that are not actually stored locally and the underlying drivers often don't provide an easy way to save an entire row.

Definition at line 371 of file SqlDatabase.h.

#include <SqlDatabase.h>

Public Member Functions

 iterator (const StatementPtr &stmt, size_t execution_seq)
 
template<typename T >
get (size_t idx)
 
int32_t get_i32 (size_t idx)
 
int64_t get_i64 (size_t idx)
 
uint32_t get_u32 (size_t idx)
 
uint64_t get_u64 (size_t idx)
 
double get_dbl (size_t idx)
 
std::string get_str (size_t idx)
 
std::vector< uint8_t > get_blob (size_t idx)
 
iteratoroperator++ ()
 
bool at_eof () const
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
template<>
NoColumn get (size_t idx)
 
template<>
int64_t get (size_t idx)
 
template<>
uint64_t get (size_t idx)
 
template<>
int32_t get (size_t idx)
 
template<>
uint32_t get (size_t idx)
 
template<>
float get (size_t idx)
 
template<>
double get (size_t idx)
 

The documentation for this class was generated from the following file: