]> sigrok.org Git - libsigrok.git/blob - bindings/cxx/QuantityFlag_methods.hpp
C++: Suppress deprecation warnings from glibmm
[libsigrok.git] / bindings / cxx / QuantityFlag_methods.hpp
1         /** Get flags corresponding to a bitmask. */
2         static vector<const QuantityFlag *>
3                 flags_from_mask(unsigned int mask);
4
5         /** Get bitmask corresponding to a set of flags. */
6         static unsigned int mask_from_flags(
7                 vector<const QuantityFlag *> flags);