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

Method SetHdComment

lib/mdflib/mdflib/src/iheader.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void IHeader::SetHdComment(const HdComment &hd_comment) {
54 if (IMetaData* meta_data = CreateMetaData();
55 meta_data != nullptr ) {
56 meta_data->XmlSnippet(hd_comment.ToXml());
57 }
58}
59
60void IHeader::GetHdComment(HdComment &hd_comment) const {
61 if (const IMetaData* meta_data = MetaData();

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

XmlSnippetMethod · 0.80
ToXmlMethod · 0.45

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64