Set.h

Go to the documentation of this file.
00001 
00020 #ifndef         SET_H_
00021 #define         SET_H_
00022 
00023 #include <string>  // for STL string
00024 #include <utility> // for STL pair
00025 
00027 namespace IRIS {
00028 
00029   using namespace std;
00030 
00033   namespace Fuzzy {
00034 
00036     class Set
00037     {
00038 
00039       public:
00040 
00041     //  CONSTRUCTORS  /////////////////////////////////////////////////////
00042 
00044         Set( const string& name = "<noname>" );
00045 
00046     //  SET MEMBER FUNCTIONS (MUTATORS)  //////////////////////////////////
00047 
00050         void setName( const string& name );
00054         void set    ( const string& name );
00055 
00056     //  GET MEMBER FUNCTIONS (ACCESSORS)  /////////////////////////////////
00057 
00059         string getName( ) const;
00063         void get    ( string& name ) const;
00064 
00067         virtual void draw( ) const = 0;
00068 
00069       protected:
00070 
00071         string name;  // name of this fuzzy set
00072 
00073     }; // end of Set class
00074 
00075   } // end of Fuzzy namespace
00076 
00077 } // end of IRIS namespace
00078 
00079 #endif      /* !SET_H_ */

Generated on Tue Dec 12 13:41:39 2006 for IRIS Intelligent Systems Tools by  doxygen 1.4.6