Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
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 MaximInterfaceCore::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 11:13:19 by
1.7.2