Anyone have any example code on how to use the thrift generated enumerations in 
C++?  I'm not sure what to do with this:

struct JobState {
  enum type {
    INITIALIZE = 0,
    RUNNING = 1,
    FINISHED = 2
  };
};

In Java its easy, JobState.RUNNING, no such thing in C++.

-Matt


Reply via email to