DCCL v4
dccl::internal::FromProtoCppType< google::protobuf::FieldDescriptor::CPPTYPE_ENUM > Class Reference
Inheritance diagram for dccl::internal::FromProtoCppType< google::protobuf::FieldDescriptor::CPPTYPE_ENUM >:

Public Types

using const_type = const google::protobuf::EnumValueDescriptor *
 
using mutable_type = google::protobuf::EnumValueDescriptor *
 

Public Member Functions

std::string as_str () override
 string representation
 
- Public Member Functions inherited from dccl::internal::FromProtoCppTypeBase
dccl::any get_value (const google::protobuf::FieldDescriptor *field, const google::protobuf::Message &msg)
 Get a given field's value from the provided message. More...
 
dccl::any get_value (const google::protobuf::Message &msg)
 Get the value of the entire base message (only works for CPPTYPE_MESSAGE)
 
dccl::any get_repeated_value (const google::protobuf::FieldDescriptor *field, const google::protobuf::Message &msg, int index)
 Get the value of a repeated field at a given index. More...
 
void set_value (const google::protobuf::FieldDescriptor *field, google::protobuf::Message *msg, dccl::any value)
 Set a given field's value in the provided message. More...
 
void set_value (google::protobuf::Message *msg, dccl::any value)
 Set the value of the entire base message (only works for CPPTYPE_MESSAGE)
 
void add_value (const google::protobuf::FieldDescriptor *field, google::protobuf::Message *msg, dccl::any value)
 Add a new entry for a repeated field to the back. More...
 

Detailed Description

Definition at line 403 of file protobuf_cpp_type_helpers.h.


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