userver: userver/storages/postgres/io/buffer_io.hpp File Reference
Loading...
Searching...
No Matches
buffer_io.hpp File Reference

Detailed Description

I/O buffer helpers.

Definition in file buffer_io.hpp.

Go to the source code of this file.

#include <userver/storages/postgres/exceptions.hpp>
#include <userver/storages/postgres/io/traits.hpp>
+ Include dependency graph for buffer_io.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.
 
namespace  storages::postgres
 Top namespace for uPg driver.
 
namespace  storages::postgres::io
 uPg input-output.
 

Functions

template<typename T >
void storages::postgres::io::ReadBuffer (const FieldBuffer &buffer, T &&value)
 Read a value from input buffer.
 
template<typename T >
void storages::postgres::io::ReadBuffer (const FieldBuffer &buffer, T &&value, const TypeBufferCategory &categories)
 
template<typename T >
traits::IO< T >::FormatterType storages::postgres::io::BufferWriter (const T &value)
 
template<typename T , typename Buffer >
void storages::postgres::io::WriteBuffer (const UserTypes &types, Buffer &buffer, const T &value)
 

Variable Documentation

◆ content

WritersRegistrator content
inlinestatic
Initial value:
{typeid(Type), typeid(Reader),
__BASE_FILE__}

Definition at line 43 of file buffer_io.hpp.