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

Detailed Description

Provides read/write context class with the ability to handle std::map conversion.

Definition in file map_conv.hpp.

Go to the source code of this file.

#include <userver/proto-structs/io/std/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 TCompare, typename TAllocator, typename TProtoKey, typename TProtoValue>
std::map< TKey, TValue, TCompare, TAllocator > proto_structs::io::ReadProtoField (ReadContext &ctx, To< std::map< TKey, TValue, TCompare, TAllocator > >, int field_number, const ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field)
 
template<typename TKey, typename TValue, typename TCompare, typename TAllocator, typename TProtoKey, typename TProtoValue>
void proto_structs::io::WriteProtoField (WriteContext &ctx, const std::map< TKey, TValue, TCompare, TAllocator > &struct_field, int field_number, ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field)
 
template<typename TKey, typename TValue, typename TCompare, typename TAllocator, typename TProtoKey, typename TProtoValue>
void proto_structs::io::WriteProtoField (WriteContext &ctx, std::map< TKey, TValue, TCompare, TAllocator > &&struct_field, int field_number, ::google::protobuf::Map< TProtoKey, TProtoValue > &message_field)