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

Method rowCount

pj_datastore/src/writer.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54} // namespace
55
56std::size_t ColumnData::rowCount() const {
57 return std::visit(
58 overloaded{
59 [](const StringData& s) -> std::size_t { return s.offsets.empty() ? 0 : s.offsets.size() - 1; },
60 [](const auto& span) -> std::size_t { return span.size(); },
61 },
62 data);
63}
64
65StorageKind ColumnData::kind() const {
66 static constexpr StorageKind kInds[] = {

Callers 4

appendColumnsMethod · 0.45
flushMethod · 0.45
flushAllMethod · 0.45

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected