I have the following message:

message device
  enum Retraction
    HOUSED = 0;
    EXTENDED = 1;
  optional Retraction retraction = 1;

How do I fix my syntax to set the retraction field (below)?

int main()
 device dev;
 if (stabiliser.retraction()==RR_system::HOUSED) cout<<"True\n"; //
this works
 stabiliser.set_retraction(RR_system::RETRACTED); //but this doesn't


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to