MCPcopy Create free account
hub / github.com/KDE/labplot / createDBCFile

Function createDBCFile

tests/spreadsheet/SpreadsheetTest.cpp:3290–3296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3288)";
3289
3290void createDBCFile(const QString& filename, const std::string& content) {
3291 auto* file = std::fopen(filename.toStdString().c_str(), "w");
3292 QVERIFY(file);
3293 std::fputs(PRIMITIVE_DBC.c_str(), file);
3294 std::fputs(content.c_str(), file);
3295 std::fclose(file);
3296}
3297
3298Vector::BLF::CanMessage2* createCANMessage(uint32_t id, uint64_t timestamp, const std::vector<uint8_t>& data) {
3299 auto* canMessage = new Vector::BLF::CanMessage2();

Calls 1

toStdStringMethod · 0.80

Tested by

no test coverage detected