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

Method ShortName

lib/mdflib/mdflib/src/mdfreader.cpp:313–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311MdfReader::~MdfReader() { Close(); }
312
313std::string MdfReader::ShortName() const {
314 try {
315 auto filename = fs::u8path(filename_).stem().u8string();
316 return {filename.begin(), filename.end()};
317 } catch (const std::exception &) {
318 }
319 return {};
320}
321
322bool MdfReader::Open() {
323 if (!file_) {

Callers 12

TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
RedrawTreeListMethod · 0.45
OnShowGroupDataMethod · 0.45
OnShowChannelDataMethod · 0.45
OnShowSrDataMethod · 0.45
OnPlotChannelDataMethod · 0.45
MdfReader.cppFile · 0.45
AddUnitGroupMethod · 0.45

Calls 1

beginMethod · 0.80

Tested by 6

TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
AddUnitGroupMethod · 0.36