title: C++ equivalent of Java Enum.valueOf()
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2571816/is-it-possible-to-define-enumalpha">Is it possible to define enumalpha?</a>  </p>
  </blockquote>
  
  
  
  <p>Is there any equivalent of Java Enum.valueOf(string) on C++?</p>