userver: storages::postgres::io::BufferFormatter< const char * > Struct Reference
Loading...
Searching...
No Matches
storages::postgres::io::BufferFormatter< const char * > Struct Reference

Detailed Description

Definition at line 23 of file string_types.hpp.

Public Member Functions

 BufferFormatter (const char *val)
 
template<typename Buffer >
void operator() (const UserTypes &, Buffer &buf) const
 

Static Public Member Functions

template<typename Buffer >
static void WriteN (Buffer &buf, const char *c, std::size_t n)
 

Public Attributes

const char * value
 

Constructor & Destructor Documentation

◆ BufferFormatter()

storages::postgres::io::BufferFormatter< const char * >::BufferFormatter ( const char * val)
inlineexplicit

Definition at line 26 of file string_types.hpp.

Member Function Documentation

◆ operator()()

template<typename Buffer >
void storages::postgres::io::BufferFormatter< const char * >::operator() ( const UserTypes & ,
Buffer & buf ) const
inline

Definition at line 29 of file string_types.hpp.

◆ WriteN()

template<typename Buffer >
static void storages::postgres::io::BufferFormatter< const char * >::WriteN ( Buffer & buf,
const char * c,
std::size_t n )
inlinestatic

Definition at line 35 of file string_types.hpp.

Member Data Documentation

◆ value

const char* storages::postgres::io::BufferFormatter< const char * >::value

Definition at line 24 of file string_types.hpp.


The documentation for this struct was generated from the following file: