THRIFT-224 Validate method should check that enum types are assigned valid values
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 16 Jan 2009 22:34:40 +0000 (22:34 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 16 Jan 2009 22:34:40 +0000 (22:34 +0000)
commit46b77c4be6c0cbd336f4e4501b9722de6ce25666
tree51fb2d4b2d6dc89f85c20528c88280971e0091f9
parent9c983c2db0856293715fe64bd84272bf3fbdfb87
THRIFT-224 Validate method should check that enum types are assigned valid values
Each generated enumeration type will now have a VALID_VALUES Set as a static member that contains all the values of the enumeration.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@735167 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_rb_generator.cc