ULAPI  8.0
ulpartofspeechsubcategory.h
1 
10 #ifndef ULPARTOFSPEECHSUBCATEGORY_H
11 #define ULPARTOFSPEECHSUBCATEGORY_H
12 
13 #include "ulenum.h"
14 
24 {
25 public:
84 
85 
89  ULPartOfSpeechSubcategory(const char *otherStringID);
91 
92  virtual void clear();
95  ULPartOfSpeechSubcategory& operator=(const char *otherStringID);
96 
97  bool operator==(const ULPartOfSpeechSubcategory& other) const;
98  bool operator==(const char *otherStringID) const;
99  bool operator!=(const ULPartOfSpeechSubcategory& other) const;
100  bool operator!=(const char *otherStringID) const;
101  bool operator<(const ULPartOfSpeechSubcategory& other) const;
102  bool operator<(const char *otherStringID) const;
103 
104  static int getEnumeratedValueCount();
105  static const ULPartOfSpeechSubcategory& getInstance(int id);
106 
107 
108 
109 private:
110  static int nEnumeratedValues;
111  static ULVector<const ULPartOfSpeechSubcategory *> enumeratedValueVector;
112  ULPartOfSpeechSubcategory(const char *stringID, const char *displayString);
113 };
114 
115 
116 #endif
117