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

Method FloatProperty

lib/mdflib/mdflib/src/imetadata.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void IMetaData::FloatProperty(const std::string& tag, double value) {
122 auto xml = CreateXmlFile();
123 xml->ParseString(XmlSnippet());
124 xml->SetProperty(tag, value);
125 XmlSnippet(xml->WriteString(true));
126}
127
128double IMetaData::FloatProperty(const std::string& tag) const {
129 auto xml = CreateXmlFile();

Callers 4

EXPORTFEATUREFUNCFunction · 0.80
MdfMetaData.cppFile · 0.80
PreTrigMethod · 0.80
PostTrigMethod · 0.80

Calls 4

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

Tested by

no test coverage detected