|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Type-safe composite key identifying a single actor row in ActorsPanel. More...
#include <ActorDefinition.hpp>

Static Public Member Functions | |
| static std::string | Encode (std::string_view defName, std::string_view actorName) |
Encodes defName and actorName into a single opaque key string. | |
| static ActorKey | Decode (const std::string &key) |
Public Attributes | |
| std::string | defName |
| Name of the owning ActorDefinition. | |
| std::string | actorName |
| Matched actor name (or capture-group value) | |
Type-safe composite key identifying a single actor row in ActorsPanel.
An actor row is uniquely identified by the pair *(definition name, actor name)*. The keys are stored in ActorsPanel::m_uncheckedActors and FilterProfile::uncheckedActors as plain strings so that they can be serialised to JSON without extra ceremony.
The two components are joined with a NUL character (\\0) which cannot appear in either name (names come from QRegularExpression capture groups and user-entered strings, neither of which allows NUL).
|
inlinestatic |
|
inlinestatic |
Encodes defName and actorName into a single opaque key string.

| std::string ui::qt::ActorKey::actorName |
Matched actor name (or capture-group value)
| std::string ui::qt::ActorKey::defName |
Name of the owning ActorDefinition.