/*
   A simple implementation of a set of characters
   similar to what's available in Pascal
*/
#ifndef DEFINE_CHARSET
#define DEFINE_CHARSET
class CharSet 
{
  public:
    CharSet(); // create empty set
    CharSet(char *s); // create set consisting of chars from s
    CharSet operator+ (CharSet t); // union
    CharSet operator- (CharSet t); // set diff
    CharSet operator* (CharSet t); // intersection
    CharSet operator+ (char t);    // append
    void display (); // intersection
    void displayln (); // intersection
    int contains (char c); 
 private:
    
    char info[129];  // allow enough for all ASCII
};

#endif

