Ardour
9.0-pre0-386-g96ef4d20f2
|
#include <flag_field.h>
Classes | |
class | iterator |
Bi-directional iterator for flag set. Iterates over flags that are set in this field. More... | |
Public Types | |
typedef uint8_t | Flag |
typedef uint32_t | storage_type |
Public Member Functions | |
FlagField () | |
FlagField (FlagField const &other) | |
bool | has (Flag flag) const |
storage_type | flags () const |
operator bool () const | |
void | set (Flag flag) |
void | remove (Flag flag) |
void | reset () |
FlagField | unsupported_flags_of (FlagField const &other) const |
Returns the flags in other that are not set in this field. More... | |
FlagField & | operator+= (FlagField const &other) |
Set all flags that are set in other. More... | |
bool | operator< (FlagField const &other) const |
iterator | begin () const |
iterator | end () const |
Private Member Functions | |
FlagField (storage_type flags) | |
Static Private Member Functions | |
static Flag | max () |
Private Attributes | |
storage_type | _flags |
Flag field capable of holding 32 flags. Easily grown in size to 64 flags by changing storage_type.
Definition at line 17 of file flag_field.h.
typedef uint8_t AudioGrapher::FlagField::Flag |
Definition at line 24 of file flag_field.h.
typedef uint32_t AudioGrapher::FlagField::storage_type |
Definition at line 25 of file flag_field.h.
|
inline |
Definition at line 70 of file flag_field.h.
|
inline |
Definition at line 71 of file flag_field.h.
|
inlineprivate |
Definition at line 102 of file flag_field.h.
|
inline |
Definition at line 92 of file flag_field.h.
|
inline |
Definition at line 99 of file flag_field.h.
|
inline |
Definition at line 74 of file flag_field.h.
|
inline |
Definition at line 73 of file flag_field.h.
|
inlinestaticprivate |
Definition at line 103 of file flag_field.h.
|
inline |
Definition at line 75 of file flag_field.h.
Set all flags that are set in other.
Definition at line 84 of file flag_field.h.
|
inline |
Checks whether this field has all the flags set that are set in other NOTE: Can NOT be used for strict weak ordering!
Definition at line 90 of file flag_field.h.
|
inline |
Definition at line 77 of file flag_field.h.
|
inline |
Definition at line 78 of file flag_field.h.
|
inline |
Definition at line 76 of file flag_field.h.
Returns the flags in other that are not set in this field.
Definition at line 81 of file flag_field.h.
|
private |
Definition at line 105 of file flag_field.h.