You can supply your own constructor and omit the default constructor, as well as provide enumerations for the constant values. To indicate an invalid combination, throw an exception of your choice. I'll just use a char* for right now.
The psuedocode and some code is provided in the code snippet below (geared for Native C++, though I can change it to C# or Managed C++ if you'd like).
Let me know if you need more information
Hope it helps,
Nate





by: Ajay-SinghPosted on 2009-11-07 at 19:45:44ID: 25769332
You can throw exception from the constructor if the
combination is not valid.