MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / Open

Method Open

lib/mdflib/mdflib/src/mdfwriter.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void MdfWriter::Open(std::ios_base::openmode mode) {
120 auto* buffer = file_.get();
121 if (buffer == nullptr) {
122 MDF_ERROR()
123 << "Invalid use of function. Need to init the file or stream buffer first.";
124 return;
125 }
126 detail::OpenMdfFile(*file_, filename_, mode);
127}
128
129bool MdfWriter::IsOpen() const {
130 const auto* buffer = file_.get();

Callers 2

SaveQueueMethod · 0.45
CleanQueueCompressedMethod · 0.45

Calls 2

OpenMdfFileFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected