]>
Commit | Line | Data |
---|---|---|
84c87085 | 1 | /** Get flags corresponding to a bitmask. */ |
6c6dd732 | 2 | static std::vector<const QuantityFlag *> |
c23c8659 | 3 | flags_from_mask(unsigned int mask); |
b2db9f3b ML |
4 | |
5 | /** Get bitmask corresponding to a set of flags. */ | |
6 | static unsigned int mask_from_flags( | |
6c6dd732 | 7 | std::vector<const QuantityFlag *> flags); |