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

Method Find

lib/mdflib/mdflib/src/mdf4file.cpp:85–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85MdfBlock *Mdf4File::Find(int64_t id) const {
86 if (id_block_) {
87 auto *p = id_block_->Find(id);
88 if (p != nullptr) {
89 return p;
90 }
91 }
92 if (hd_block_) {
93 auto *p = hd_block_->Find(id);
94 if (p != nullptr) {
95 return p;
96 }
97 }
98 return nullptr;
99}
100
101void Mdf4File::Attachments(AttachmentList &dest) const {
102 if (!hd_block_) {

Callers 7

OnListItemActivatedMethod · 0.45
GetBlockMethod · 0.45
FindParentDataGroupMethod · 0.45
GetBlockPropertyMethod · 0.45
FindAllReferencesMethod · 0.45
ReadReferenceMethod · 0.45
FindReferencedBlocksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected