userver: /data/code/userver/libraries/proto-structs/include/userver/proto-structs/io/userver/decimal64/decimal_conv.hpp File Reference
Loading...
Searching...
No Matches
decimal_conv.hpp File Reference

Detailed Description

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>
This graph shows which files directly or indirectly include this file:

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)