On Jul 16, 2010, at 5:47 , [email protected] wrote:
if (stabiliser.retraction()==device::HOUSED) cout<<"True\n";
//but this doesn't compile
stabiliser.set_retraction(device::RETRACTED);
}

See the generated .h file to see what might be going wrong. For enums, a .set_* method should be generated. Note that the .proto you sent doesn't have RETRACTED defined, so maybe that is your problem?

Evan

--
Evan Jones
http://evanjones.ca/

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to