mercredi 19 octobre 2016

Save Enum values using reflection in Protocol buffers

I have an Enum Update update in a .proto file . I want to store it using reflections in a message.

refl->SetEnum (msg, fd , ???(EnumValueDescriptor *)   );

How can I do this?

Aucun commentaire:

Enregistrer un commentaire