Botan 3.6.1
Crypto and TLS for C&
Botan::SQL_Database::Statement Class Referenceabstract

#include <database.h>

Public Member Functions

virtual void bind (int column, const std::vector< uint8_t > &blob)=0
 
virtual void bind (int column, const uint8_t *data, size_t len)=0
 
virtual void bind (int column, size_t i)=0
 
virtual void bind (int column, std::chrono::system_clock::time_point time)=0
 
virtual void bind (int column, std::string_view str)=0
 
virtual std::pair< const uint8_t *, size_t > get_blob (int column)=0
 
virtual size_t get_size_t (int column)=0
 
virtual std::string get_str (int column)=0
 
virtual size_t spin ()=0
 
virtual bool step ()=0
 
virtual ~Statement ()=default
 

Detailed Description

Definition at line 35 of file database.h.

Constructor & Destructor Documentation

◆ ~Statement()

virtual Botan::SQL_Database::Statement::~Statement ( )
virtualdefault

Member Function Documentation

◆ bind() [1/5]

virtual void Botan::SQL_Database::Statement::bind ( int column,
const std::vector< uint8_t > & blob )
pure virtual

◆ bind() [2/5]

virtual void Botan::SQL_Database::Statement::bind ( int column,
const uint8_t * data,
size_t len )
pure virtual

◆ bind() [3/5]

virtual void Botan::SQL_Database::Statement::bind ( int column,
size_t i )
pure virtual

◆ bind() [4/5]

virtual void Botan::SQL_Database::Statement::bind ( int column,
std::chrono::system_clock::time_point time )
pure virtual

◆ bind() [5/5]

virtual void Botan::SQL_Database::Statement::bind ( int column,
std::string_view str )
pure virtual

◆ get_blob()

virtual std::pair< const uint8_t *, size_t > Botan::SQL_Database::Statement::get_blob ( int column)
pure virtual

◆ get_size_t()

virtual size_t Botan::SQL_Database::Statement::get_size_t ( int column)
pure virtual

◆ get_str()

virtual std::string Botan::SQL_Database::Statement::get_str ( int column)
pure virtual

◆ spin()

virtual size_t Botan::SQL_Database::Statement::spin ( )
pure virtual

◆ step()

virtual bool Botan::SQL_Database::Statement::step ( )
pure virtual

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