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

Method TxComment

lib/mdflib/mdflib/src/md4block.cpp:276–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void Md4Block::TxComment(const std::string &tx_comment) {
277 block_type_ = "##MD";
278 auto xml = CreateXmlFile();
279 xml->ParseString(XmlSnippet());
280 xml->SetProperty("TX", tx_comment);
281 XmlSnippet(xml->WriteString(true));
282}
283
284std::string Md4Block::TxComment() const {
285 if (IsTxtBlock()) {

Callers

nothing calls this directly

Calls 4

CreateXmlFileFunction · 0.85
WriteStringMethod · 0.80
ParseStringMethod · 0.45
SetPropertyMethod · 0.45

Tested by

no test coverage detected