libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
encodings.cxx File Reference
#include "pqxx-source.hxx"
#include <cstring>
#include <map>
#include <sstream>
#include <libpq-fe.h>
#include "pqxx/internal/header-pre.hxx"
#include "pqxx/internal/encodings.hxx"
#include "pqxx/strconv.hxx"
#include "pqxx/internal/header-post.hxx"

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.

Macros

#define CASE_GROUP(ENC)

Functions

pqxx::internal::encoding_group pqxx::internal::enc_group (std::string_view encoding_name)
 Convert libpq encoding name to its libpqxx encoding group.
 pqxx::internal::__attribute__ ((pure)) char const *name_encoding(int encoding_id)
encoding_group pqxx::internal::enc_group (int)
 Convert libpq encoding enum value to its libpqxx group.

Macro Definition Documentation

◆ CASE_GROUP

#define CASE_GROUP ( ENC)
Value:
case encoding_group::ENC: return glyph_scanner<encoding_group::ENC>::call