DCCL v4
dccl::internal::TypeHelper Class Reference

Provides FromProtoTypeBase and FromProtoCppTypeBase type identification helper classes for various representations of the underlying field. More...

#include <dccl/internal/type_helper.h>

Public Types

using TypeMap = std::map< google::protobuf::FieldDescriptor::Type, std::shared_ptr< FromProtoTypeBase > >
 
using CppTypeMap = std::map< google::protobuf::FieldDescriptor::CppType, std::shared_ptr< FromProtoCppTypeBase > >
 
using CustomMessageMap = std::map< std::string, std::shared_ptr< FromProtoCppTypeBase > >
 

Public Member Functions

std::shared_ptr< FromProtoTypeBasefind (google::protobuf::FieldDescriptor::Type type) const
 
std::shared_ptr< FromProtoCppTypeBasefind (const google::protobuf::FieldDescriptor *field) const
 
std::shared_ptr< FromProtoCppTypeBasefind (const google::protobuf::Descriptor *desc) const
 
std::shared_ptr< FromProtoCppTypeBasefind (google::protobuf::FieldDescriptor::CppType cpptype, const std::string &type_name="") const
 

Public Attributes

TypeMap type_map_
 
CppTypeMap cpptype_map_
 
CustomMessageMap custom_message_map_
 

Friends

class ::dccl::FieldCodecManagerLocal
 

Detailed Description

Provides FromProtoTypeBase and FromProtoCppTypeBase type identification helper classes for various representations of the underlying field.

Definition at line 40 of file type_helper.h.


The documentation for this class was generated from the following files: