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

Method HeaderBlock

lib/mdflib/mdflib/src/mdfblock.cpp:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454const MdfBlock* MdfBlock::HeaderBlock() const {
455 if (BlockType() == "HD") {
456 return this;
457 }
458 return parent_ != nullptr ? parent_->HeaderBlock() : nullptr;
459}
460
461const MdfBlock* MdfBlock::DgBlock() const {
462 if (BlockType() == "DG") {

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64