ULAPI  8.0
ulservicedescriptor.h
1 
7 #ifndef ULSERVICEDESCRIPTOR_H
8 #define ULSERVICEDESCRIPTOR_H
9 
10 #include "ullanguage.h"
11 
14 class ULLanguage;
15 
20 enum ULServiceType
21 {
22  ULServiceTypeNone,
23  ULServiceTypeDictionarySearch,
24  ULServiceTypeInflection,
25  ULServiceTypeDissection,
26  ULServiceTypeNumberTranslation,
27  ULServiceTypePartOfSpeechTagging,
28  ULServiceTypeStemming,
29  ULServiceTypeConjugation,
30  ULServiceTypePluralization,
31  ULServiceTypeSingularization,
32 
33  ULNServiceTypes
34 };
35 
36 
44 {
46  : type(ULServiceTypeNone), language(ULLanguage::NoLanguage), languageDataSource(0), secondLanguageDataSource(0), dictionaryDataSource(0)
47  { }
48 
49  ULServiceType type;
54 
55  bool operator==(const ULServiceDescriptor& other) const;
56  bool operator<(const ULServiceDescriptor& other) const;
57 };
58 
59 #endif
60