DCCL v4
|
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< FromProtoTypeBase > | find (google::protobuf::FieldDescriptor::Type type) const |
std::shared_ptr< FromProtoCppTypeBase > | find (const google::protobuf::FieldDescriptor *field) const |
std::shared_ptr< FromProtoCppTypeBase > | find (const google::protobuf::Descriptor *desc) const |
std::shared_ptr< FromProtoCppTypeBase > | find (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 |
Provides FromProtoTypeBase and FromProtoCppTypeBase type identification helper classes for various representations of the underlying field.
Definition at line 40 of file type_helper.h.