ULAPI  8.0
uldictionarynode.h
1 
7 #ifndef ULDICTIONARYNODE_H
8 #define ULDICTIONARYNODE_H
9 
10 #include "ulstring.h"
11 #include "ulfeature.h"
12 
14 
64 {
65 public:
67  ULDictionaryNode(const ULDictionaryNode& other);
68  virtual ~ULDictionaryNode();
69 
71  void clear();
72 
73  uluint32 getType() const;
74  void setType(uluint32 newType);
76  void setDataSource(ULDictionaryDataSource *newDataSource);
77 
78  bool hasFeature(const ULFeatureType& featureType) const;
79  bool hasFeature(const char *featureTypeStringID) const;
80  bool getFeature(const ULFeatureType& featureType, ULFeature& feature) const;
81  bool getFeatures(const ULFeatureType& featureType, ULList< ULFeature > &featureList) const;
82  bool getFeature(const char *featureTypeStringID, ULFeature& feature) const;
83  void addFeature(const ULFeature& feature);
84  const ULList<ULFeature>& getFeatureList() const;
85 
86  ULString toString(int level=0) const;
87 
88 private:
89  uluint32 type;
90  ULDictionaryDataSource *dataSource;
91  ULList<ULFeature> featureList;
92 };
93 
94 #endif
95