How can I check for an enum type in another program. For example I have the following enumeration:

Code:
class Processing_Plants
{
public:
   enum Juice_t
    {
        Orange, 
        Grapefruit
    };
}; // end class Processing_Plants
I would like to be able to check to see if "Orange" or "Grapefruit" are the current state by use of an if statement and then perform some operation. My problem is this. I don't know the proper syntax for performing this check. Thanks in advance!

JK