Definition at line 56 of file traits.hpp.
Public Member Functions | |
std::string | ToString () const |
constexpr FieldBuffer | GetSubBuffer (std::size_t offset, std::size_t size=npos, BufferCategory cat=BufferCategory::kKeepCategory) const |
template<typename T > | |
std::size_t | Read (T &&value, BufferCategory cat=BufferCategory::kKeepCategory, std::size_t length=sizeof(T)) |
template<typename T > | |
std::size_t | Read (T &&value, const TypeBufferCategory &categories, std::size_t length=sizeof(T), BufferCategory cat=BufferCategory::kKeepCategory) |
template<typename T > | |
std::size_t | ReadRaw (T &&value, const TypeBufferCategory &categories, BufferCategory cat=BufferCategory::kKeepCategory) |
Public Attributes | |
bool | is_null = false |
BufferCategory | category = BufferCategory::kPlainBuffer |
std::size_t | length = 0 |
const std::uint8_t * | buffer = nullptr |
Static Public Attributes | |
static constexpr std::size_t | npos = std::numeric_limits<std::size_t>::max() |
|
inlineconstexpr |
Definition at line 12 of file field_buffer.hpp.
std::size_t storages::postgres::io::FieldBuffer::Read | ( | T && | value, |
BufferCategory | cat = BufferCategory::kKeepCategory, | ||
std::size_t | length = sizeof(T) ) |
Definition at line 31 of file field_buffer.hpp.
std::size_t storages::postgres::io::FieldBuffer::Read | ( | T && | value, |
const TypeBufferCategory & | categories, | ||
std::size_t | length = sizeof(T), | ||
BufferCategory | cat = BufferCategory::kKeepCategory ) |
Definition at line 39 of file field_buffer.hpp.
std::size_t storages::postgres::io::FieldBuffer::ReadRaw | ( | T && | value, |
const TypeBufferCategory & | categories, | ||
BufferCategory | cat = BufferCategory::kKeepCategory ) |
Definition at line 48 of file field_buffer.hpp.
|
inline |
Definition at line 64 of file traits.hpp.
const std::uint8_t* storages::postgres::io::FieldBuffer::buffer = nullptr |
Definition at line 62 of file traits.hpp.
BufferCategory storages::postgres::io::FieldBuffer::category = BufferCategory::kPlainBuffer |
Definition at line 60 of file traits.hpp.
bool storages::postgres::io::FieldBuffer::is_null = false |
Definition at line 59 of file traits.hpp.
std::size_t storages::postgres::io::FieldBuffer::length = 0 |
Definition at line 61 of file traits.hpp.
|
staticconstexpr |
Definition at line 57 of file traits.hpp.