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

Method StringProperty

lib/mdflib/mdflib/src/imetadata.cpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void IMetaData::StringProperty(const std::string& tag,
98 const std::string& value) {
99 auto xml = CreateXmlFile();
100 xml->ParseString(XmlSnippet());
101 xml->SetProperty(tag, value);
102 XmlSnippet(xml->WriteString(true));
103}
104
105std::string IMetaData::StringProperty(const std::string& tag) const {
106 auto xml = CreateXmlFile();

Callers 13

TEST_FFunction · 0.80
EXPORTFEATUREFUNCFunction · 0.80
MdfMetaData.cppFile · 0.80
DescriptionMethod · 0.80
DescriptionMethod · 0.80
DescriptionMethod · 0.80
DescriptionMethod · 0.80
DescriptionMethod · 0.80
DescriptionMethod · 0.80
ToolNameMethod · 0.80
ToolVendorMethod · 0.80
ToolVersionMethod · 0.80

Calls 4

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

Tested by 1

TEST_FFunction · 0.64