Provides read/write context class with the ability to handle std::unordered_map conversion.
Definition in file unordered_map_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/std/unordered_map.hpp>#include <google/protobuf/map.h>#include <userver/proto-structs/io/impl/std/any_map_conv.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 utlities and predefined proto-structs conversion hooks for well-known std/userver types. | |
Functions | |
| template<typename TKey, typename TValue, typename THash, typename TKeyEqual, typename TAllocator, typename TProtoKey, typename TProtoValue> | |
| std::unordered_map< TKey, TValue, THash, TKeyEqual, TAllocator > | proto_structs::io::ReadProtoField (ReadContext &ctx, To< std::unordered_map< TKey, TValue, THash, TKeyEqual, TAllocator > >, int field_number, const ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field) |
| template<typename TKey, typename TValue, typename THash, typename TKeyEqual, typename TAllocator, typename TProtoKey, typename TProtoValue> | |
| void | proto_structs::io::WriteProtoField (WriteContext &ctx, const std::unordered_map< TKey, TValue, THash, TKeyEqual, TAllocator > &struct_field, int field_number, ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field) |
| template<typename TKey, typename TValue, typename THash, typename TKeyEqual, typename TAllocator, typename TProtoKey, typename TProtoValue> | |
| void | proto_structs::io::WriteProtoField (WriteContext &ctx, std::unordered_map< TKey, TValue, THash, TKeyEqual, TAllocator > &&struct_field, int field_number, ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field) |