is it possible to dynmically get allthe enum fields associated with a
protocol buffer message and all the valid values defined in that enum
fields?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" gr
I am looking for a way to get all the enums defined, not just the ones
that are set.
On Oct 2, 11:23 am, Tuppy Hamper wrote:
> is it possible to dynmically get allthe enum fields associated with a
> protocol buffer message and all the valid values defined in that enum
&g
> for (int j = 0; j < type->value_count(); j++) {
> const EnumValueDescriptor* value = type->value(i);
> // value->name() and value->number() describe this value.
> }
> }
>
>
>
> }
> On Fri, Oct 2, 2009 at 8:23 AM, Tuppy Hamper wrote:
>
>