On 2009-10-24 18:45:10 -0400, Justin Johansson <[email protected]> said:
Let me try again. You have a set of N things which are represented by an enum definition. There is some subset of this set containing M things (so M < N) which represents the things meaningful in a public sense. The remaining Q=N-M members of the whole set are only meaningful to some internal processing so this subset containing Q members are designated private. I'm trying to think about this problem in an abstract way; sometimes giving concrete examples like Color colors (pun intended) the abstract problem.
Sounds like you want enum inheritance: one enum being a superset of another. :-)
-- Michel Fortin [email protected] http://michelf.com/
