Lines Matching full:flags
22 template <class Flags, class Object, Flags... Keys>
28 template <Flags... Indexes>
33 const bool previous = flags.all(); in set()
35 (flags.set(indexOf<0, Indexes, Keys...>(), values), ...); in set()
37 if (previous != flags.all()) in set()
39 if (flags.all()) in set()
51 return flags.all() ? StateEvent::active : StateEvent::inactive; in set()
54 template <Flags Index>
57 return flags.test(indexOf<0, Index, Keys...>()); in get()
62 return flags.all(); in isActive()
66 template <size_t Index, Flags flag, Flags it, Flags... list>
80 std::bitset<sizeof...(Keys)> flags{0};