|
libpqxx
The C++ client library for PostgreSQL
|
#include <iomanip>#include <string>#include <string_view>#include "pqxx/internal/concat.hxx"#include "pqxx/internal/encoding_group.hxx"Go to the source code of this file.
Namespaces | |
| namespace | pqxx |
| The home of all libpqxx classes, functions, templates, etc. | |
| namespace | pqxx::internal |
| Internal items for libpqxx' own use. Do not use these yourself. | |
Functions | |
| PQXX_PURE char const * | pqxx::internal::name_encoding (int encoding_id) |
| Return PostgreSQL's name for encoding enum value. | |
| encoding_group | pqxx::internal::enc_group (int) |
| Convert libpq encoding enum value to its libpqxx group. | |
| PQXX_LIBEXPORT glyph_scanner_func * | pqxx::internal::get_glyph_scanner (encoding_group) |
| Look up the glyph scanner function for a given encoding group. | |
| template<char... NEEDLE> | |
| std::size_t | pqxx::internal::find_char (glyph_scanner_func *scanner, std::string_view haystack, std::size_t here=0u) |
| Find any of the ASCII characters NEEDLE in haystack. | |
| template<typename CALLABLE> | |
| void | pqxx::internal::for_glyphs (encoding_group enc, CALLABLE callback, char const buffer[], std::size_t buffer_len, std::size_t start=0) |
| Iterate over the glyphs in a buffer. | |
| template<encoding_group ENC, char... NEEDLE> | |
| PQXX_PURE std::size_t | pqxx::internal::find_s_ascii_char (std::string_view haystack, std::size_t here) |
| Find first of NEEDLE ASCII chars in haystack. | |
| constexpr encoding_group | pqxx::internal::map_ascii_search_group (encoding_group enc) noexcept |
| Just for searching an ASCII character, what encoding can we use here? | |
| template<char... NEEDLE> | |
| PQXX_PURE constexpr char_finder_func * | pqxx::internal::get_char_finder (encoding_group enc) |
| Look up a character search function for an encoding group. | |
| template<char... NEEDLE> | |
| PQXX_PURE constexpr char_finder_func * | pqxx::internal::get_s_char_finder (encoding_group enc) |
| Look up a "sentry" character search function for an encoding group. | |
Variables | |
| template<> | |
| std::string_view const | pqxx::type_name< pqxx::internal::encoding_group > { "pqxx::internal::encoding_group" } |