Namespaces | |
command | |
concurrency | |
exception | |
isolation | |
value | |
Classes | |
class | account |
Class used to store account and connection information used by mariadb::connection when connecting. More... | |
class | bind |
class | connection |
Wraps a Database connection. More... | |
class | data |
class | date_time |
Class used to represent SQL date_time. More... | |
class | decimal |
class | last_error |
class | option_arg |
class | result_set |
Class used to store query and statement results. More... | |
class | save_point |
Class used to represent a MariaDB savepoint having automatic rollback functionality. More... | |
class | statement |
Class representing a prepared statement with binding functionality. More... | |
struct | statement_data |
class | time |
Class representing SQL time. More... | |
class | time_span |
class | transaction |
Class representing a SQL transaction having automatic rollback functionality. More... | |
class | worker |
Typedefs | |
typedef std::shared_ptr< account > | account_ref |
using | bind_ref = std::unique_ptr< bind > |
typedef std::shared_ptr< ::mariadb::data< char > > | data_ref |
typedef std::basic_iostream< ::mariadb::data< char > > | data_stream |
typedef std::shared_ptr< statement_data > | statement_data_ref |
typedef std::shared_ptr< result_set > | result_set_ref |
typedef std::shared_ptr< save_point > | save_point_ref |
typedef std::shared_ptr< connection > | connection_ref |
typedef std::shared_ptr< statement > | statement_ref |
typedef std::shared_ptr< transaction > | transaction_ref |
typedef unsigned char | u8 |
typedef unsigned short | u16 |
typedef unsigned int | u32 |
typedef signed char | s8 |
typedef signed short | s16 |
typedef signed int | s32 |
typedef float | f32 |
typedef double | f64 |
typedef long double | f128 |
typedef unsigned long long | u64 |
typedef signed long long | s64 |
typedef u64 | handle |
typedef std::shared_ptr< std::istream > | stream_ref |
Functions | |
MAKE_OPTION_ARG (bool, bool, &m_value) | |
MAKE_OPTION_ARG (int, int, &m_value) | |
MAKE_OPTION_ARG (string, std::string, m_value.c_str()) | |
std::ostream & | operator<< (std::ostream &os, const date_time &ddt) |
std::ostream & | operator<< (std::ostream &os, const time &t) |
std::ostream & | operator<< (std::ostream &os, const time_span &ts) |
int | localtime_safe (struct tm *_tm, const time_t *_time) |
int | gmtime_safe (struct tm *_tm, const time_t *_time) |
typedef std::shared_ptr<account> mariadb::account_ref |
Definition at line 19 of file account.hpp.
using mariadb::bind_ref = typedef std::unique_ptr<bind> |
typedef std::shared_ptr<connection> mariadb::connection_ref |
Definition at line 33 of file statement.hpp.
typedef std::shared_ptr< ::mariadb::data<char> > mariadb::data_ref |
typedef std::basic_iostream< ::mariadb::data<char> > mariadb::data_stream |
typedef long double mariadb::f128 |
typedef float mariadb::f32 |
typedef double mariadb::f64 |
typedef u64 mariadb::handle |
typedef std::shared_ptr<result_set> mariadb::result_set_ref |
Definition at line 219 of file result_set.hpp.
typedef signed short mariadb::s16 |
typedef signed int mariadb::s32 |
typedef signed long long mariadb::s64 |
typedef signed char mariadb::s8 |
typedef std::shared_ptr<save_point> mariadb::save_point_ref |
Definition at line 50 of file save_point.hpp.
typedef std::shared_ptr<statement_data> mariadb::statement_data_ref |
Definition at line 64 of file result_set.hpp.
typedef std::shared_ptr<statement> mariadb::statement_ref |
Definition at line 109 of file statement.hpp.
typedef std::shared_ptr<std::istream> mariadb::stream_ref |
typedef std::shared_ptr<transaction> mariadb::transaction_ref |
Definition at line 78 of file transaction.hpp.
typedef unsigned short mariadb::u16 |
typedef unsigned int mariadb::u32 |
typedef unsigned long long mariadb::u64 |
typedef unsigned char mariadb::u8 |
|
inline |
Definition at line 27 of file private.hpp.
Referenced by mariadb::time::now_utc(), and mariadb::date_time::now_utc().
|
inline |
Definition at line 23 of file private.hpp.
Referenced by mariadb::date_time::date_time(), mariadb::time::now(), mariadb::date_time::now(), and mariadb::time::time().
mariadb::MAKE_OPTION_ARG | ( | bool | , |
bool | , | ||
& | m_value | ||
) |
mariadb::MAKE_OPTION_ARG | ( | int | , |
int | , | ||
& | m_value | ||
) |
mariadb::MAKE_OPTION_ARG | ( | string | , |
std::string | , | ||
m_value. | c_str() | ||
) |
std::ostream & mariadb::operator<< | ( | std::ostream & | os, |
const time_span & | ts | ||
) |
Definition at line 130 of file time_span.cpp.
References mariadb::time_span::days(), mariadb::time_span::hours(), mariadb::time_span::milliseconds(), mariadb::time_span::minutes(), mariadb::time_span::negative(), and mariadb::time_span::seconds().
std::ostream & mariadb::operator<< | ( | std::ostream & | os, |
const time & | t | ||
) |
Definition at line 374 of file time.cpp.
References mariadb::time::str_time().
std::ostream & mariadb::operator<< | ( | std::ostream & | os, |
const date_time & | ddt | ||
) |
Definition at line 587 of file date_time.cpp.
References mariadb::date_time::str().