ULAPI  8.0
ulcase.h
1 
10 #ifndef ULCASE_H
11 #define ULCASE_H
12 
13 #include "ulenum.h"
14 
21 class ULCase : public ULEnum
22 {
23 public:
24  static const ULCase& None;
25  static const ULCase& Any;
26  static const ULCase& Nominative;
27  static const ULCase& Genitive;
28  static const ULCase& Accusative;
29  static const ULCase& Dative;
30  static const ULCase& Prepositional;
31  static const ULCase& Instrumental;
32  static const ULCase& Vocative;
33  static const ULCase& Ablative;
34  static const ULCase& Locative;
35  static const ULCase& Partitive;
36  static const ULCase& Inessive;
37  static const ULCase& Elative;
38  static const ULCase& Illative;
39  static const ULCase& Adessive;
40  static const ULCase& Allative;
41  static const ULCase& Essive;
42  static const ULCase& Translative;
43  static const ULCase& Instructive;
44  static const ULCase& Abessive;
45  static const ULCase& Prolative;
46  static const ULCase& Sublative;
47  static const ULCase& Superessive;
48  static const ULCase& Delative;
49  static const ULCase& Terminative;
50  static const ULCase& Temporal;
51  static const ULCase& CausalFinal;
52 
53 
54  ULCase();
55  ULCase(const ULCase& other);
56  ULCase(int id);
57  ULCase(const char *otherStringID);
58  virtual ~ULCase();
59 
60  virtual void clear();
61  ULCase& operator=(const ULCase& other);
62  ULCase& operator=(int otherID);
63  ULCase& operator=(const char *otherStringID);
64 
65  bool operator==(const ULCase& other) const;
66  bool operator==(const char *otherStringID) const;
67  bool operator!=(const ULCase& other) const;
68  bool operator!=(const char *otherStringID) const;
69  bool operator<(const ULCase& other) const;
70  bool operator<(const char *otherStringID) const;
71 
72  static int getEnumeratedValueCount();
73  static const ULCase& getInstance(int id);
74 
75 
76 
77 private:
78  static int nEnumeratedValues;
79  static ULVector<const ULCase *> enumeratedValueVector;
80  ULCase(const char *stringID, const char *displayString);
81 };
82 
83 
84 #endif
85