DCCL v3
Public Types | Static Public Member Functions | Static Public Attributes | Friends | List of all members
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

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

Static Public Member Functions

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

Static Public Attributes

static boost::shared_ptr< TypeHelperinst_
 
static TypeMap type_map_
 
static CppTypeMap cpptype_map_
 
static CustomMessageMap custom_message_map_
 

Friends

class ::dccl::FieldCodecManager
 
template<typename T >
void boost::checked_delete (T *)
 

Detailed Description

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

Definition at line 39 of file type_helper.h.


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