ULAPI  8.0
ulfeaturetype.h
1 
10 #ifndef ULFEATURETYPE_H
11 #define ULFEATURETYPE_H
12 
13 #include "ulenum.h"
14 
22 class ULFeatureType : public ULEnum
23 {
24 public:
25  static const ULFeatureType& None;
26  static const ULFeatureType& Any;
27  static const ULFeatureType& Other;
28  static const ULFeatureType& Type;
29  static const ULFeatureType& Headword;
30  static const ULFeatureType& Definition;
31  static const ULFeatureType& Text;
32  static const ULFeatureType& PartOfSpeech;
35  static const ULFeatureType& Tense;
36  static const ULFeatureType& Person;
37  static const ULFeatureType& Number;
38  static const ULFeatureType& Gender;
39  static const ULFeatureType& Formality;
40  static const ULFeatureType& Case;
41  static const ULFeatureType& Aspect;
42  static const ULFeatureType& Mood;
43  static const ULFeatureType& Transitivity;
44  static const ULFeatureType& Reflexivity;
46  static const ULFeatureType& Ontology;
47  static const ULFeatureType& Etymology;
48  static const ULFeatureType& Usage;
49  static const ULFeatureType& Tone;
50  static const ULFeatureType& Dialect;
52  static const ULFeatureType& Homonym;
53  static const ULFeatureType& Synonym;
54  static const ULFeatureType& Antonym;
55  static const ULFeatureType& Derivation;
56  static const ULFeatureType& SeeAlso;
58  static const ULFeatureType& GrammarUsage;
59  static const ULFeatureType& Example;
60  static const ULFeatureType& Semantic;
61  static const ULFeatureType& Source;
62  static const ULFeatureType& Target;
63  static const ULFeatureType& Socio;
64  static const ULFeatureType& Term;
65  static const ULFeatureType& Translation;
67  static const ULFeatureType& Aspirated;
71  static const ULFeatureType& Strong;
72  static const ULFeatureType& Separated;
73  static const ULFeatureType& Inseparable;
74  static const ULFeatureType& PreteritStem;
75  static const ULFeatureType& Prefix2;
76  static const ULFeatureType& Prefix3;
77  static const ULFeatureType& Prefix4;
81  static const ULFeatureType& Class;
82  static const ULFeatureType& Contains;
83  static const ULFeatureType& PresentType;
87  static const ULFeatureType& AllUppercase;
93  static const ULFeatureType& NonAspirated;
94  static const ULFeatureType& BOXB;
95  static const ULFeatureType& BOXC;
96  static const ULFeatureType& BOXF;
97  static const ULFeatureType& BOXL;
98  static const ULFeatureType& BOXP;
99  static const ULFeatureType& BOXR;
100  static const ULFeatureType& BOXS;
101  static const ULFeatureType& BOXT;
102  static const ULFeatureType& BXRF;
103  static const ULFeatureType& CAT1;
104  static const ULFeatureType& CAT2;
105  static const ULFeatureType& CCAF;
106  static const ULFeatureType& CCCF;
107  static const ULFeatureType& CCPD;
108  static const ULFeatureType& CCXT;
109  static const ULFeatureType& EXPN;
110  static const ULFeatureType& GRAM;
111  static const ULFeatureType& HCME;
112  static const ULFeatureType& HDAD;
113  static const ULFeatureType& HDCF;
114  static const ULFeatureType& HDGR;
115  static const ULFeatureType& HDHN;
116  static const ULFeatureType& HDIF;
117  static const ULFeatureType& HDSB;
118  static const ULFeatureType& HWAD;
119  static const ULFeatureType& HWAE;
120  static const ULFeatureType& HWAF;
121  static const ULFeatureType& HWCF;
122  static const ULFeatureType& HWCP;
123  static const ULFeatureType& HWEX;
124  static const ULFeatureType& HWFV;
125  static const ULFeatureType& HWGN;
126  static const ULFeatureType& HWGR;
127  static const ULFeatureType& HWHN;
128  static const ULFeatureType& HWIF;
129  static const ULFeatureType& HWKE;
130  static const ULFeatureType& HWLE;
131  static const ULFeatureType& HWME;
132  static const ULFeatureType& HWRF;
133  static const ULFeatureType& HWRV;
134  static const ULFeatureType& HWSB;
135  static const ULFeatureType& HWSV;
136  static const ULFeatureType& HWXP;
137  static const ULFeatureType& HWXT;
138  static const ULFeatureType& HWYU;
139  static const ULFeatureType& IFGR;
140  static const ULFeatureType& IFHN;
141  static const ULFeatureType& LBCA;
142  static const ULFeatureType& LBCC;
143  static const ULFeatureType& LBCI;
144  static const ULFeatureType& LBCN;
145  static const ULFeatureType& LBCO;
146  static const ULFeatureType& LBCS;
147  static const ULFeatureType& LBCV;
148  static const ULFeatureType& LBFF;
149  static const ULFeatureType& LBGR;
150  static const ULFeatureType& LBIN;
151  static const ULFeatureType& LBLF;
152  static const ULFeatureType& LBNC;
153  static const ULFeatureType& LBPO;
154  static const ULFeatureType& LBPS;
155  static const ULFeatureType& LBRN;
156  static const ULFeatureType& LBRR;
157  static const ULFeatureType& LBSF;
158  static const ULFeatureType& LBSN;
159  static const ULFeatureType& LBST;
160  static const ULFeatureType& LBTM;
161  static const ULFeatureType& LBXX;
162  static const ULFeatureType& LEST;
163  static const ULFeatureType& LLEX;
164  static const ULFeatureType& LLXT;
165  static const ULFeatureType& LXIN;
166  static const ULFeatureType& LXRN;
167  static const ULFeatureType& LXRR;
168  static const ULFeatureType& LXSF;
169  static const ULFeatureType& OPPR;
170  static const ULFeatureType& PINT;
171  static const ULFeatureType& PINY;
172  static const ULFeatureType& PHEG;
173  static const ULFeatureType& PHEX;
174  static const ULFeatureType& PHID;
175  static const ULFeatureType& PHGR;
176  static const ULFeatureType& PHPB;
177  static const ULFeatureType& PHMU;
178  static const ULFeatureType& PHPS;
179  static const ULFeatureType& PHRS;
180  static const ULFeatureType& PHXT;
181  static const ULFeatureType& POCH;
182  static const ULFeatureType& POSP;
183  static const ULFeatureType& PRLB;
184  static const ULFeatureType& PRPS;
185  static const ULFeatureType& PRRN;
186  static const ULFeatureType& PRON;
187  static const ULFeatureType& RFGR;
188  static const ULFeatureType& RFVB;
189  static const ULFeatureType& RFXT;
190  static const ULFeatureType& SUBE;
191  static const ULFeatureType& TGGR;
192  static const ULFeatureType& TLGR;
193  static const ULFeatureType& TLIN;
194  static const ULFeatureType& TLLF;
195  static const ULFeatureType& TLRN;
196  static const ULFeatureType& TLRR;
197  static const ULFeatureType& TLSF;
198  static const ULFeatureType& TLTM;
199  static const ULFeatureType& TRAD;
200  static const ULFeatureType& TRAN;
201  static const ULFeatureType& TRCF;
202  static const ULFeatureType& TRCP;
203  static const ULFeatureType& TREG;
204  static const ULFeatureType& TREQ;
205  static const ULFeatureType& TREX;
206  static const ULFeatureType& TRIF;
207  static const ULFeatureType& TRGL;
208  static const ULFeatureType& TRPB;
209  static const ULFeatureType& TRPR;
210  static const ULFeatureType& TRSB;
211  static const ULFeatureType& TRXP;
212  static const ULFeatureType& URL1;
213  static const ULFeatureType& VERB;
214  static const ULFeatureType& WOEG;
215  static const ULFeatureType& XASE;
216  static const ULFeatureType& XRBC;
217  static const ULFeatureType& XRBL;
218  static const ULFeatureType& XRCA;
219  static const ULFeatureType& XRCP;
220  static const ULFeatureType& XREQ;
221  static const ULFeatureType& XRHN;
222  static const ULFeatureType& XRLK;
223  static const ULFeatureType& XROF;
224  static const ULFeatureType& XRSA;
225  static const ULFeatureType& XRSB;
226  static const ULFeatureType& XRSE;
227  static const ULFeatureType& XUSA;
228  static const ULFeatureType& XUSE;
229  static const ULFeatureType& YUEG;
230  static const ULFeatureType& ULTerm;
231  static const ULFeatureType& ULText;
241  static const ULFeatureType& CXMLBox;
257  static const ULFeatureType& CXMLCatOf;
265  static const ULFeatureType& CXMLEntry;
268  static const ULFeatureType& CXMLGrammar;
269  static const ULFeatureType& CXMLInfl;
270  static const ULFeatureType& CXMLLabel;
278  static const ULFeatureType& CXMLPattern;
279  static const ULFeatureType& CXMLPosp;
280  static const ULFeatureType& CXMLPron;
283  static const ULFeatureType& CXMLText;
294  static const ULFeatureType& CXMLEtym;
301 
302 
303  ULFeatureType();
304  ULFeatureType(const ULFeatureType& other);
305  ULFeatureType(int id);
306  ULFeatureType(const char *otherStringID);
307  virtual ~ULFeatureType();
308 
309  virtual void clear();
310  ULFeatureType& operator=(const ULFeatureType& other);
311  ULFeatureType& operator=(int otherID);
312  ULFeatureType& operator=(const char *otherStringID);
313 
314  bool operator==(const ULFeatureType& other) const;
315  bool operator==(const char *otherStringID) const;
316  bool operator!=(const ULFeatureType& other) const;
317  bool operator!=(const char *otherStringID) const;
318  bool operator<(const ULFeatureType& other) const;
319  bool operator<(const char *otherStringID) const;
320 
321  static int getEnumeratedValueCount();
322  static const ULFeatureType& getInstance(int id);
323 
324 
325 
326 private:
327  static int nEnumeratedValues;
328  static ULVector<const ULFeatureType *> enumeratedValueVector;
329  ULFeatureType(const char *stringID, const char *displayString);
330 };
331 
332 
333 #endif
334