![]() |
MySQL 9.5.0
Source Code Documentation
|
Namespaces | |
| namespace | cache |
| namespace | container |
| namespace | digester |
| namespace | http |
| namespace | interface |
| namespace | json |
| namespace | string |
Classes | |
| class | AuthorizeHandlerCallbakcs |
| struct | Column |
| struct | ColumnType |
| class | DateTime |
| class | DummyType |
| class | Error |
| struct | Generator8bitsValues |
| struct | GeneratorAlpha |
| struct | GeneratorAlphaNumeric |
| struct | GeneratorBase |
| Base class for generators. More... | |
| struct | GeneratorSmallAlpha |
| class | Jwt |
| class | JwtHolder |
| class | MediaDetector |
| class | MySQLRow |
| class | Optional |
| Lightweight implementation of optional. More... | |
| class | PluginMonitor |
| class | TaskControl |
| class | VariantPointer |
Typedefs | |
| using | UUID = std::array< uint8_t, 16 > |
| using | DataType = mrs::database::entry::ColumnType |
| using | Base64NoPadd = Base64Base< Base64Alphabet::Base64Url, Base64Endianess::BIG, false, '='> |
Enumerations | |
| enum | MediaType { typeUnknownBinary , typeUnknownText , typePlain , typeHtml , typeJs , typeCss , typePng , typeJpg , typeIco , typeGif , typeBmp , typeAvi , typeWav , typeJson , typeXieee754ClientJson , typeSvg } |
| enum | JsonType { kNull , kBool , kString , kNumeric , kJson , kBlob , kObject } |
| enum | DataTypeInText { kDataInteger , kDataFloat , kDataString } |
| enum | State { k_stateInitialize , k_stateRunning , k_stateSuspended , k_stateStopped } |
Functions | |
| std::string | to_string (const DummyType &) |
| UUID | generate_uuid_v4 () |
| std::string | to_uuid_string (const UUID &uuid) |
| const char * | get_mime_name_from_ext (const std::string &ext) |
| MediaType | get_media_type_from_extension (const std::string &extenstion) |
| bool | is_text_type (const MediaType mt) |
| const char * | get_mime_name (MediaType mt) |
| std::string | to_string (MediaType mt) |
| std::string | txt_from_mysql_column_type (const MYSQL_FIELD *field) |
| JsonType | from_mysql_column_string_type (const char *type) |
| ColumnType | from_mysql_txt_column_type (const char *type) |
| uint64_t | from_mysql_column_type_length (const char *type) |
| JsonType | from_mysql_column_type (const MYSQL_FIELD *type) |
| std::string | to_string (JsonType type) |
| DataTypeInText | get_type_inside_text (const std::string &value) |
| bool | operator<= (const DateTime &l, const DateTime &r) |
| template<class T > | |
| bool | operator== (const Optional< T > &lhs, const Optional< T > &rhs) |
| template<class T > | |
| bool | operator== (const T &lhs, const Optional< T > &rhs) |
| template<class T > | |
| bool | operator== (const Optional< T > &lhs, const T rhs) |
| mysqlrouter::sqlstring | get_sql_format (DataType type) |
| mysqlrouter::sqlstring | get_sql_formatted (const rapidjson::Value &value, DataType type) |
| template<typename String1 , typename String2 > | |
| bool | contains (const String1 &value, const String2 &sst) |
| template<typename String1 , typename String2 > | |
| bool | icontains (const String1 &value, const String2 &sst) |
| bool | ends_with (const std::string &value, const std::string &sst) |
| template<typename String > | |
| bool | index (const std::string &value, const String &search_for, uint32_t *idx) |
| bool | index (const char *value, const char *search_for, uint32_t *idx) |
| template<typename String1 , typename String2 > | |
| bool | starts_with (const String1 &value, const String2 &search_for) |
| template<typename String > | |
| uint64_t | to_uint64 (const String &str) |
| template<typename Container > | |
| std::string | as_string (const Container &c) |
| template<typename Generator = GeneratorSmallAlpha> | |
| std::string | generate_string (uint32_t length) |
| template<uint32_t length, typename Generator = GeneratorSmallAlpha> | |
| std::string | generate_string () |
| template<typename Function > | |
| void | replace_if (std::string &value, Function &&to_replace, char replace_with) |
| void | left (std::string *to_trim) |
| void | right (std::string *to_trim) |
| void | trim (std::string *to_trim) |
| std::string | make_left (const std::string &to_trim) |
| std::string | make_right (const std::string &to_trim) |
| std::string | make_trim (const std::string &to_trim) |
| const std::string & | to_string (const bool b) |
| const std::string & | to_string (const std::string &value) |
| const char * | to_cstr (const bool b) |
| template<typename Type > | |
| std::string | to_string (const std::optional< Type > &v) |
| template<typename Type > | |
| std::string | type_name () |
| static const auto & | get_txt_type_mapping () |
| static std::string | appedn_unsigned (const MYSQL_FIELD *field) |
| static std::string | append_length (const MYSQL_FIELD *field) |
| static std::string | append_length_dec (const MYSQL_FIELD *field) |
| void | remove_suffix_after (std::string_view &v, char c) |
| std::string | as_string (const std::vector< unsigned char > &c) |
| std::vector< uint8_t > | as_array (const std::string &s) |
| template<typename Document > | |
| void | doc_set_member (Document &doc, std::string_view name, std::string_view value) |
| std::string | encode_HS256 (const std::string &secret, const std::string &message) |
Variables | |
| const std::string | k_none {"none"} |
| const std::string | k_true {"true"} |
| const std::string | k_false {"false"} |
| const std::string | kHeaderClaimAlgorithm {"alg"} |
| const std::string | kHeaderClaimType {"typ"} |
| using helper::Base64NoPadd = typedef Base64Base<Base64Alphabet::Base64Url, Base64Endianess::BIG, false, '='> |
| using helper::DataType = typedef mrs::database::entry::ColumnType |
| using helper::UUID = typedef std::array<uint8_t, 16> |
| enum helper::JsonType |
| enum helper::MediaType |
| enum helper::State |
|
static |
|
static |
|
static |
| std::vector< uint8_t > helper::as_array | ( | const std::string & | s | ) |
|
inline |
| std::string helper::as_string | ( | const std::vector< unsigned char > & | c | ) |
| bool helper::contains | ( | const String1 & | value, |
| const String2 & | sst | ||
| ) |
| void helper::doc_set_member | ( | Document & | doc, |
| std::string_view | name, | ||
| std::string_view | value | ||
| ) |
| std::string helper::encode_HS256 | ( | const std::string & | secret, |
| const std::string & | message | ||
| ) |
|
inline |
| JsonType helper::from_mysql_column_string_type | ( | const char * | type | ) |
| JsonType helper::from_mysql_column_type | ( | const MYSQL_FIELD * | type | ) |
| uint64_t helper::from_mysql_column_type_length | ( | const char * | type | ) |
| ColumnType helper::from_mysql_txt_column_type | ( | const char * | type | ) |
|
inline |
|
inline |
|
inline |
| MediaType helper::get_media_type_from_extension | ( | const std::string & | extenstion | ) |
| const char * helper::get_mime_name | ( | MediaType | mt | ) |
| const char * helper::get_mime_name_from_ext | ( | const std::string & | ext | ) |
|
inline |
|
inline |
|
static |
| DataTypeInText helper::get_type_inside_text | ( | const std::string & | value | ) |
| bool helper::icontains | ( | const String1 & | value, |
| const String2 & | sst | ||
| ) |
|
inline |
| bool helper::index | ( | const std::string & | value, |
| const String & | search_for, | ||
| uint32_t * | idx | ||
| ) |
| bool helper::is_text_type | ( | const MediaType | mt | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void helper::remove_suffix_after | ( | std::string_view & | v, |
| char | c | ||
| ) |
| void helper::replace_if | ( | std::string & | value, |
| Function && | to_replace, | ||
| char | replace_with | ||
| ) |
|
inline |
| bool helper::starts_with | ( | const String1 & | value, |
| const String2 & | search_for | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string helper::to_string | ( | JsonType | type | ) |
| std::string helper::to_string | ( | MediaType | mt | ) |
|
inline |
|
inline |
| std::string helper::txt_from_mysql_column_type | ( | const MYSQL_FIELD * | field | ) |
| std::string helper::type_name | ( | ) |
| const std::string helper::k_false {"false"} |
| const std::string helper::k_none {"none"} |
| const std::string helper::k_true {"true"} |
| const std::string helper::kHeaderClaimAlgorithm {"alg"} |
| const std::string helper::kHeaderClaimType {"typ"} |