The log's group table, as a producer addresses it (spec A-9): a group's name to its bit of groupMask, and a groupId to its name.
More...
#include <org/limitless/seqeron/app/GroupDirectory.hpp>
|
| std::uint16_t | mask (const std::string_view name) const |
| | A group's bit.
|
| |
| std::string_view | name (const std::int32_t groupId) const |
| | A group's name, to label it.
|
| |
The log's group table, as a producer addresses it (spec A-9): a group's name to its bit of groupMask, and a groupId to its name.
Immutable: the groups are fixed by the first topology load (S-8), so one directory holds for the life of the archive. Combine masks with |.
The Java twin is app/GroupDirectory.java; keep the two in step.
◆ mask()
| std::uint16_t org::limitless::seqeron::app::GroupDirectory::mask |
( |
const std::string_view |
name | ) |
const |
|
inline |
A group's bit.
- Parameters
-
| name | the group's name in the topology |
- Returns
- its bit of groupMask, or 0 if the table names no such group
◆ name()
| std::string_view org::limitless::seqeron::app::GroupDirectory::name |
( |
const std::int32_t |
groupId | ) |
const |
|
inline |
A group's name, to label it.
- Parameters
-
- Returns
- its name, or empty if the table names no such group
◆ detail::GroupResolution
| friend class detail::GroupResolution |
|
friend |
The documentation for this class was generated from the following file: