|
static bool | isSet (bsls::Types::Uint64 flags, QueueFlags::Enum flag) |
|
static bool | isValid (bsl::ostream &errorDescription, bsls::Types::Uint64 flags) |
|
static bsls::Types::Uint64 | empty () |
| The empty value for flags. More...
|
|
static bool | isEmpty (bsls::Types::Uint64 flags) |
| Returns true if the specified flags have the empty value. More...
|
|
static bool | isReader (bsls::Types::Uint64 flags) |
| Returns true if the specified flags represent a reader. More...
|
|
static bool | isWriter (bsls::Types::Uint64 flags) |
| Returns true if the specified flags represent a writer. More...
|
|
static bool | isAdmin (bsls::Types::Uint64 flags) |
| Returns true if the specified flags represent an admin. More...
|
|
static bool | isAck (bsls::Types::Uint64 flags) |
| Returns true if the specified flags represent ack required. More...
|
|
static void | setReader (bsls::Types::Uint64 *flags) |
| Sets the specified flags representation for reader. More...
|
|
static void | setAdmin (bsls::Types::Uint64 *flags) |
| Sets the specified flags representation for admin. More...
|
|
static void | setWriter (bsls::Types::Uint64 *flags) |
| Sets the specified flags representation for writer. More...
|
|
static void | setAck (bsls::Types::Uint64 *flags) |
| Sets the specified flags representation for ack. More...
|
|
static void | unsetReader (bsls::Types::Uint64 *flags) |
| Resets the specified flags representation for reader. More...
|
|
static void | unsetAdmin (bsls::Types::Uint64 *flags) |
| Resets the specified flags representation for admin. More...
|
|
static void | unsetWriter (bsls::Types::Uint64 *flags) |
| Resets the specified flags representation for writer. More...
|
|
static void | unsetAck (bsls::Types::Uint64 *flags) |
| Resets the specified flags representation for ack. More...
|
|
static bsls::Types::Uint64 | additions (bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags) |
|
static bsls::Types::Uint64 | removals (bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags) |
|
static bsl::ostream & | prettyPrint (bsl::ostream &stream, bsls::Types::Uint64 flags) |
|
static int | fromString (bsl::ostream &errorDescription, bsls::Types::Uint64 *out, const bsl::string &str) |
|
bool BloombergLP::bmqt::QueueFlagsUtil::isSet |
( |
bsls::Types::Uint64 |
flags, |
|
|
QueueFlags::Enum |
flag |
|
) |
| |
|
inlinestatic |
Return true if the bit-mask in the specified flags
has the specified flag
set, or false if not.
DEPRECATED: This method is deprecated in favor of the below more specific accessors; and should be made private once all clients have been updated to the new APIs.
Referenced by isAck(), isAdmin(), isReader(), and isWriter().