Provides read/write context class with the ability to handle userver::utils::StrongTypedef
conversion.
Definition in file strong_typedef_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/userver/utils/strong_typedef.hpp>
#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 TTag, typename TStructField, utils::StrongTypedefOps Ops, typename TEnable, typename TMessageField> | |
utils::StrongTypedef< TTag, TStructField, Ops, TEnable > | proto_structs::io::ReadProtoField (ReadContext &ctx, To< utils::StrongTypedef< TTag, TStructField, Ops, TEnable > >, int field_number, const TMessageField &message_field) |
template<typename TTag, typename TStructField, utils::StrongTypedefOps Ops, typename TEnable, typename TMessageField> | |
void | proto_structs::io::WriteProtoField (WriteContext &ctx, const utils::StrongTypedef< TTag, TStructField, Ops, TEnable > &struct_field, int field_number, TMessageField &message_field) |
template<typename TTag, typename TStructField, utils::StrongTypedefOps Ops, typename TEnable, typename TMessageField> | |
void | proto_structs::io::WriteProtoField (WriteContext &ctx, utils::StrongTypedef< TTag, TStructField, Ops, TEnable > &&struct_field, int field_number, TMessageField &message_field) |