Opaque token identifying a subscription (state or device group).
More...
#include <SubscriberToken.hpp>
|
|
using | TokenType = unsigned long long |
| | Token type.
|
|
|
| SubscriberToken () noexcept |
| | Default construction (invalid token, value 0).
|
| bool | isValid () const noexcept |
| | Check if the token is valid (non-zero).
|
|
TokenType | value () const noexcept |
| | Underlying value for hashing and comparison.
|
|
bool | operator== (const SubscriberToken &other) const noexcept |
| | Equality comparison operators for SubscriberToken.
|
|
bool | operator!= (const SubscriberToken &other) const noexcept |
| | Inequality comparison operators for SubscriberToken.
|
Opaque token identifying a subscription (state or device group).
◆ isValid()
| bool eduart::subscription::SubscriberToken::isValid |
( |
| ) |
const |
|
inlinenoexcept |
Check if the token is valid (non-zero).
- Returns
- true if the token represents a valid subscription.
The documentation for this struct was generated from the following file: