Classes | Public Member Functions | Private Attributes | List of all members
sql::statement Class Reference

#include <sql.h>

Classes

class  column_value
 
class  iterator
 
class  row_value
 

Public Member Functions

iterator begin ()
 
void bind (int param, int value) const
 
void bind (int param, double value) const
 
void bind (int param, const char *value) const
 
void bind (int param, const std::vector< uint8_t > &value) const
 
iterator end ()
 
std::vector< uint8_tget_blob (int column=0) const
 
double get_double (int column=0) const
 
int get_int (int column=0) const
 
std::string get_string (int column=0) const
 
row_value operator() ()
 
 statement (const connection &conn, const char *sql)
 
bool step () const
 

Private Attributes

statement_handle m_handle
 

Detailed Description

Definition at line 72 of file sql.h.

Constructor & Destructor Documentation

sql::statement::statement ( const connection conn,
const char *  sql 
)

Definition at line 87 of file sql.cpp.

Member Function Documentation

iterator sql::statement::begin ( )
inline

Definition at line 144 of file sql.h.

void sql::statement::bind ( int  param,
int  value 
) const

Definition at line 136 of file sql.cpp.

void sql::statement::bind ( int  param,
double  value 
) const

Definition at line 141 of file sql.cpp.

void sql::statement::bind ( int  param,
const char *  value 
) const

Definition at line 146 of file sql.cpp.

void sql::statement::bind ( int  param,
const std::vector< uint8_t > &  value 
) const

Definition at line 151 of file sql.cpp.

iterator sql::statement::end ( )
inline

Definition at line 145 of file sql.h.

vector< uint8_t > sql::statement::get_blob ( int  column = 0) const

Definition at line 126 of file sql.cpp.

double sql::statement::get_double ( int  column = 0) const

Definition at line 115 of file sql.cpp.

int sql::statement::get_int ( int  column = 0) const

Definition at line 110 of file sql.cpp.

string sql::statement::get_string ( int  column = 0) const

Definition at line 121 of file sql.cpp.

row_value sql::statement::operator() ( )
inline

Definition at line 147 of file sql.h.

bool sql::statement::step ( ) const

Definition at line 100 of file sql.cpp.

Member Data Documentation

statement_handle sql::statement::m_handle
private

Definition at line 74 of file sql.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43