QuantityFlag_methods.hpp 252 B

12345678
  1. /** Get flags corresponding to a bitmask. */
  2. static vector<const QuantityFlag *>
  3. flags_from_mask(unsigned int mask);
  4. /** Get bitmask corresponding to a set of flags. */
  5. static unsigned int mask_from_flags(
  6. vector<const QuantityFlag *> flags);