/usr/include/dawgdic/ranked-guide-unit.h is in libdawgdic-dev 0.4.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #ifndef DAWGDIC_RANKED_GUIDE_UNIT_H
#define DAWGDIC_RANKED_GUIDE_UNIT_H
#include "base-types.h"
namespace dawgdic {
class RankedGuideUnit {
public:
RankedGuideUnit() : child_('\0'), sibling_('\0') {}
void set_child(UCharType child) {
child_ = child;
}
void set_sibling(UCharType sibling) {
sibling_ = sibling;
}
UCharType child() const {
return child_;
}
UCharType sibling() const {
return sibling_;
}
private:
UCharType child_;
UCharType sibling_;
// Copyable.
};
} // namespace dawgdic
#endif // DAWGDIC_RANKED_GUIDE_UNIT_H
|