Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
FlagSet< Flag, flagBits > Class Template Reference
Provides functionality similar to std::bitset except using a bit flag, typically of an enum type, as the indexer. More...
#include <FlagSet.hpp>
Public Member Functions | |
Element access | |
bool | operator[] (Flag flag) const |
reference | operator[] (Flag flag) |
bool | test (Flag flag) const |
bool | any () const |
bool | none () const |
size_t | count () const |
Capacity | |
size_t | size () const |
Modifiers | |
FlagSet & | operator&= (const FlagSet &other) |
FlagSet & | operator|= (const FlagSet &other) |
FlagSet & | operator^= (const FlagSet &other) |
FlagSet | operator~ () const |
FlagSet & | set () |
FlagSet & | set (Flag flag, bool value=true) |
FlagSet & | reset () |
FlagSet & | reset (Flag flag) |
FlagSet & | flip () |
FlagSet & | flip (Flag flag) |
Conversions | |
template<typename CharT , typename Traits , typename Allocator > | |
std::basic_string< CharT, Traits, Allocator > | to_string () const |
unsigned long | to_ulong () const |
Detailed Description
template<typename Flag, size_t flagBits>
class MaximInterface::FlagSet< Flag, flagBits >
Provides functionality similar to std::bitset except using a bit flag, typically of an enum type, as the indexer.
Definition at line 44 of file FlagSet.hpp.
Generated on Tue Jul 12 2022 23:29:46 by 1.7.2