MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / isStringKey

Method isStringKey

pj_runtime/src/CatalogModel.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322bool CatalogModel::isStringKey(const QString& key) const {
323 const auto it = impl_->items.find(key);
324 if (it == impl_->items.end()) {
325 return false;
326 }
327 const ScalarFieldPayload* scalar = asScalarField(it->second);
328 return scalar != nullptr && scalar->is_string;
329}
330
331std::optional<QString> CatalogModel::stringValueAt(const QString& key, double display_seconds) const {
332 if (impl_->session == nullptr) {

Callers 2

TESTFunction · 0.80
fillValuesNowMethod · 0.80

Calls 3

asScalarFieldFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.64