userver: storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > > Struct Template Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > > Struct Template Reference

#include <userver/storages/postgres/io/chrono.hpp>

Detailed Description

template<typename Duration>
struct storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >

Binary parser for std::chrono::time_point.

Definition at line 116 of file chrono.hpp.

+ Inheritance diagram for storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >:
+ Collaboration diagram for storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >:

Public Types

using BaseType
 
using ValueType = typename BaseType::ValueType
 

Public Member Functions

void operator() (const FieldBuffer &buffer)
 

Member Typedef Documentation

◆ BaseType

template<typename Duration >
using storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >::BaseType
Initial value:
detail::BufferParserBase<std::chrono::time_point<ClockType, Duration>>

Definition at line 118 of file chrono.hpp.

◆ ValueType

template<typename Duration >
using storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >::ValueType = typename BaseType::ValueType

Definition at line 120 of file chrono.hpp.

Member Function Documentation

◆ operator()()

template<typename Duration >
void storages::postgres::io::BufferParser< std::chrono::time_point< ClockType, Duration > >::operator() ( const FieldBuffer & buffer)
inline

Definition at line 123 of file chrono.hpp.


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