get all enum fields and their possible values

2009-10-02 Thread Tuppy Hamper
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

Re: get all enum fields and their possible values

2009-10-02 Thread Tuppy Hamper
++) {       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 hamp...@gmail.com wrote: is it possible to dynmically get allthe enum fields associated with a protocol buffer message