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

Method SetSiComment

lib/mdflib/mdflib/src/isourceinformation.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace mdf {
9
10void ISourceInformation::SetSiComment(const SiComment &si_comment) {
11 if (IMetaData* meta_data = CreateMetaData();
12 meta_data != nullptr ) {
13 meta_data->XmlSnippet(si_comment.ToXml());
14 }
15}
16
17void ISourceInformation::GetSiComment(SiComment &si_comment) const {
18 if (const IMetaData* meta_data = MetaData();

Callers 2

TEST_FFunction · 0.80

Calls 2

XmlSnippetMethod · 0.80
ToXmlMethod · 0.45

Tested by 1

TEST_FFunction · 0.64