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

Method appendBool

pj_datastore/src/column_buffer.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void TypedColumnBuffer::appendBool(bool value) {
124 assert(storageKindOf(descriptor_.logical_type) == StorageKind::kBool);
125 const auto byte = static_cast<uint8_t>(value ? 1 : 0);
126 appendFixed(byte);
127}
128
129void TypedColumnBuffer::appendString(std::string_view value) {
130 assert(storageKindOf(descriptor_.logical_type) == StorageKind::kString);

Callers 3

set<bool>Method · 0.80
sortRowsByTimestampMethod · 0.80
TESTFunction · 0.80

Calls 1

storageKindOfFunction · 0.85

Tested by 1

TESTFunction · 0.64