libsigrok/bindings/cxx/QuantityFlag_methods.hpp

8 lines
262 B
C++
Raw Normal View History

/** Get flags corresponding to a bitmask. */
static std::vector<const QuantityFlag *>
2014-07-17 17:39:49 +00:00
flags_from_mask(unsigned int mask);
/** Get bitmask corresponding to a set of flags. */
static unsigned int mask_from_flags(
std::vector<const QuantityFlag *> flags);