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

Method Open

lib/mdflib/mdflib/src/mdfreader.cpp:322–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322bool MdfReader::Open() {
323 if (!file_) {
324 MDF_ERROR() <<
325 "No stream buffer has been assigned. Invalid use of the function";
326 return false;
327 }
328
329 // Note that the above function will return true if it isn't a file
330 // buffer.
331 return detail::OpenMdfFile(*file_, filename_,
332 std::ios_base::in | std::ios_base::binary);
333}
334
335bool MdfReader::IsOpen() const {
336 std::streambuf* buffer = file_.get();

Callers

nothing calls this directly

Calls 1

OpenMdfFileFunction · 0.85

Tested by

no test coverage detected