seqeron 0.18.0
Loading...
Searching...
No Matches
org::limitless::seqeron::app::GroupDirectory Class Reference

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>

Public Member Functions

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.
 

Friends

class detail::GroupResolution
 

Detailed Description

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.

Member Function Documentation

◆ mask()

std::uint16_t org::limitless::seqeron::app::GroupDirectory::mask ( const std::string_view  name) const
inline

A group's bit.

Parameters
namethe 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
groupId1 to 16
Returns
its name, or empty if the table names no such group

Friends And Related Symbol Documentation

◆ detail::GroupResolution

friend class detail::GroupResolution
friend

The documentation for this class was generated from the following file: