32#ifndef GUARD_SQLITE_RESULT_HPP_INCLUDED
33#define GUARD_SQLITE_RESULT_HPP_INCLUDED
35#include <boost/noncopyable.hpp>
40 struct result_construct_params_private;
boost::shared_ptr< result > result_type
boost::variant< unknown_t, int, boost::int64_t, long double, std::string, null_t, blob_ref_t > variant_t
query should be used to execute SQL queries An object of this class is not copyable
result can only be created by a query object. An object of this class is not copyable.
boost::int64_t get_int64(int idx)
Returns the data at the given index as 64-Bit Integer.
std::string get_column_name(int idx)
Returns the column name at the given index.
bool next_row()
Increases the row index.
boost::shared_ptr< result_construct_params_private > construct_params
int get_int(int idx)
Returns the data at the given index as 32-Bit Integer.
std::string get_column_decltype(int idx)
Returns the type of the column.
double get_double(int idx)
Returns the data at the given index as double.
void get_binary(int idx, std::vector< unsigned char > &vec)
Used to retrieve a binary value.
type get_column_type(int idx)
Returns the type of the column.
int get_column_count()
Returns the number of columns.
variant_t get_variant(int index)
Retrieves a the current typ into variant_t.
void get_binary(int idx, void *buf, size_t buf_size)
Used to retrieve a binary value.
size_t get_binary_size(int idx)
Returns the size of the data at the given index in bytes.
std::string get_string(int idx)
Returns the data at the given index as String.
construct_params m_params
int get_row_count()
Returns the number of rows in the result.