Provides read/write context class with the ability to handle std::chrono::hh_mm_ss
conversion.
Definition in file hh_mm_ss_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/std/chrono/hh_mm_ss.hpp>
#include <cstdint>
#include <fmt/format.h>
#include <google/type/timeofday.pb.h>
#include <userver/proto-structs/io/context.hpp>
Namespaces | |
namespace | proto_structs |
Top namespace for the proto-structs library. | |
namespace | proto_structs::io |
Namespace for conversion utlities and predefined proto-structs conversion hooks for well-known std/userver types. | |
Functions | |
template<typename TDuration> | |
std::chrono::hh_mm_ss< TDuration > | proto_structs::io::ReadProtoStruct (ReadContext &ctx, To< std::chrono::hh_mm_ss< TDuration > >, const ::google::type::TimeOfDay &msg) |
template<typename TDuration> | |
void | proto_structs::io::WriteProtoStruct (WriteContext &ctx, const std::chrono::hh_mm_ss< TDuration > &obj, ::google::type::TimeOfDay &msg) |