ULAPI  8.0
ulmood.h
1 
10 #ifndef ULMOOD_H
11 #define ULMOOD_H
12 
13 #include "ulenum.h"
14 
21 class ULMood : public ULEnum
22 {
23 public:
24  static const ULMood& None;
25  static const ULMood& Any;
26  static const ULMood& Indicative;
27  static const ULMood& Subjunctive;
28  static const ULMood& Conditional;
29  static const ULMood& Imperative;
30  static const ULMood& Jussive;
31 
32 
33  ULMood();
34  ULMood(const ULMood& other);
35  ULMood(int id);
36  ULMood(const char *otherStringID);
37  virtual ~ULMood();
38 
39  virtual void clear();
40  ULMood& operator=(const ULMood& other);
41  ULMood& operator=(int otherID);
42  ULMood& operator=(const char *otherStringID);
43 
44  bool operator==(const ULMood& other) const;
45  bool operator==(const char *otherStringID) const;
46  bool operator!=(const ULMood& other) const;
47  bool operator!=(const char *otherStringID) const;
48  bool operator<(const ULMood& other) const;
49  bool operator<(const char *otherStringID) const;
50 
51  static int getEnumeratedValueCount();
52  static const ULMood& getInstance(int id);
53 
54 
55 
56 private:
57  static int nEnumeratedValues;
58  static ULVector<const ULMood *> enumeratedValueVector;
59  ULMood(const char *stringID, const char *displayString);
60 };
61 
62 
63 #endif
64