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