MySQL 8.3.0
Source Code Documentation
Mysql::Tools::Base::Mysql_query_runner::Row Class Reference

#include <mysql_query_runner.h>

Classes

class  Iterator
 

Public Member Functions

 Row (MYSQL_RES *mysql_result_info, unsigned int column_count, MYSQL_ROW row)
 
 ~Row ()
 
std::string operator[] (std::size_t index) const
 
void push_back (char *buff, std::size_t length)
 
const char * get_buffer (std::size_t index, std::size_t &length) const
 
std::size_t size_of_element (std::size_t index) const
 
bool is_value_null (std::size_t index) const
 
std::size_t size () const
 
Iterator begin () const
 
Iterator end () const
 
MYSQL_RESget_mysql_result_info () const
 

Private Member Functions

void reserve (std::size_t strings, std::size_t buffer_size)
 

Private Attributes

char * m_buffer
 
std::vector< std::size_t > m_buffer_starts
 
std::size_t m_buffer_capacity
 
std::size_t m_buffer_size
 
MYSQL_RESm_mysql_result_info
 

Constructor & Destructor Documentation

◆ Row()

Mysql_query_runner::Row::Row ( MYSQL_RES mysql_result_info,
unsigned int  column_count,
MYSQL_ROW  row 
)

◆ ~Row()

Mysql_query_runner::Row::~Row ( )

Member Function Documentation

◆ begin()

Mysql_query_runner::Row::Iterator Mysql_query_runner::Row::begin ( ) const

◆ end()

Mysql_query_runner::Row::Iterator Mysql_query_runner::Row::end ( ) const

◆ get_buffer()

const char * Mysql_query_runner::Row::get_buffer ( std::size_t  index,
std::size_t &  length 
) const

◆ get_mysql_result_info()

MYSQL_RES * Mysql_query_runner::Row::get_mysql_result_info ( ) const

◆ is_value_null()

bool Mysql_query_runner::Row::is_value_null ( std::size_t  index) const

◆ operator[]()

std::string Mysql_query_runner::Row::operator[] ( std::size_t  index) const

◆ push_back()

void Mysql_query_runner::Row::push_back ( char *  buff,
std::size_t  length 
)

◆ reserve()

void Mysql_query_runner::Row::reserve ( std::size_t  strings,
std::size_t  buffer_size 
)
private

◆ size()

std::size_t Mysql_query_runner::Row::size ( ) const

◆ size_of_element()

std::size_t Mysql_query_runner::Row::size_of_element ( std::size_t  index) const

Member Data Documentation

◆ m_buffer

char* Mysql::Tools::Base::Mysql_query_runner::Row::m_buffer
private

◆ m_buffer_capacity

std::size_t Mysql::Tools::Base::Mysql_query_runner::Row::m_buffer_capacity
private

◆ m_buffer_size

std::size_t Mysql::Tools::Base::Mysql_query_runner::Row::m_buffer_size
private

◆ m_buffer_starts

std::vector<std::size_t> Mysql::Tools::Base::Mysql_query_runner::Row::m_buffer_starts
private

◆ m_mysql_result_info

MYSQL_RES* Mysql::Tools::Base::Mysql_query_runner::Row::m_mysql_result_info
private

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