| 280 | } |
| 281 | |
| 282 | std::optional<CatalogItem> CatalogModel::itemDescriptor(const QString& key) const { |
| 283 | const auto it = impl_->items.find(key); |
| 284 | if (it == impl_->items.end()) { |
| 285 | return std::nullopt; |
| 286 | } |
| 287 | return it->second; |
| 288 | } |
| 289 | |
| 290 | std::optional<double> CatalogModel::scalarValueAt(const QString& key, double display_seconds) const { |
| 291 | if (impl_->session == nullptr) { |