SelectedItem
SelectedItem
Represents a selected data item with optional specificity. More…
#include <SelectionContext.hpp>
Public Functions
| Name | |
|---|---|
| bool | operator<(SelectedItem const & other) const |
| bool | operator==(SelectedItem const & other) const |
Public Attributes
| Name | |
|---|---|
| SelectedDataKey | data_key Key in DataManager. |
| std::optional< int64_t > | entity_id Specific entity within data (optional). |
| std::optional< int > | time_index Specific time frame (optional). |
Detailed Description
struct SelectedItem;Represents a selected data item with optional specificity.
SelectedItem can represent:
- Just a data key (selecting entire data object)
- Data key + entity ID (selecting specific entity)
- Data key + time index (selecting specific frame)
- All three for maximum specificity
Public Functions Documentation
function operator<
inline bool operator<(
SelectedItem const & other
) constfunction operator==
inline bool operator==(
SelectedItem const & other
) constPublic Attributes Documentation
variable data_key
SelectedDataKey data_key;Key in DataManager.
variable entity_id
std::optional< int64_t > entity_id;Specific entity within data (optional).
variable time_index
std::optional< int > time_index;Specific time frame (optional).
Updated on 2026-11-13 at 20:25:39 +0000