9#ifndef LLDB_UTILITY_FLAGS_H
10#define LLDB_UTILITY_FLAGS_H
ValueType m_flags
The flags.
Flags(ValueType flags=0)
Construct with initial flag bit values.
size_t GetBitSize() const
Return the number of flags that can be represented in this object.
bool IsClear(ValueType bit) const
Test a single flag bit to see if it is clear (zero).
ValueType Get() const
Get accessor for all flags.
ValueType Clear(ValueType mask=~static_cast< ValueType >(0))
Clear one or more flags.
bool AllClear(ValueType mask) const
Test if all bits in mask are clear.
uint32_t ValueType
The value type for flags is a 32 bit unsigned integer type.
void Reset(ValueType flags)
Set accessor for all flags.
bool Test(ValueType bit) const
Test a single flag bit.
bool AllSet(ValueType mask) const
Test if all bits in mask are 1 in the current flags.
bool AnyClear(ValueType mask) const
bool AnySet(ValueType mask) const
Test one or more flags.
ValueType Set(ValueType mask)
Set one or more flags by logical OR'ing mask with the current flags.
A class that represents a running process on the host machine.