Provides read/write context class with the ability to handle userver::decimal64::Decimal conversion.
Definition in file decimal_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/userver/decimal64/decimal.hpp>#include <google/type/decimal.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 utilities and predefined proto-structs conversion hooks for well-known std/userver types. | |
Functions | |
| template<int Prec, typename TRoundPolicy> | |
| decimal64::Decimal< Prec, TRoundPolicy > | proto_structs::io::ReadProtoStruct (ReadContext &ctx, To< decimal64::Decimal< Prec, TRoundPolicy > >, const ::google::type::Decimal &msg) |
| template<int Prec, typename TRoundPolicy> | |
| void | proto_structs::io::WriteProtoStruct (WriteContext &, const decimal64::Decimal< Prec, TRoundPolicy > &obj, ::google::type::Decimal &msg) |