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

Function toStringView

pj_datastore/src/plugin_data_host.cpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45using FieldHandle = PJ_field_handle_t;
46
47[[nodiscard]] std::string_view toStringView(PJ_string_view_t view) {
48 return std::string_view(view.data == nullptr ? "" : view.data, view.size);
49}
50
51// Collapse runs of '/' into a single '/' in a topic/field name. Plugin-supplied names
52// are opaque, but an empty '/'-segment ("//") carries no meaning in the curve

Callers 15

setFieldValueMethod · 0.70
appendRecordMethod · 0.70
appendArrowStreamMethod · 0.70
sourceEnsureTopicFunction · 0.70
sourceEnsureFieldFunction · 0.70
parserEnsureFieldFunction · 0.70
toolboxCreateDataSourceFunction · 0.70
toolboxEnsureTopicFunction · 0.70
toolboxEnsureFieldFunction · 0.70
toolboxObjectLookupTopicFunction · 0.70

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.40
TESTFunction · 0.40