MCPcopy Create free account
hub / github.com/audacity/audacity / WriteXML

Method WriteXML

libraries/lib-module-manager/PluginIPCUtils.cpp:145–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void PluginValidationResult::WriteXML(XMLWriter& writer) const
146{
147 if(mHasError)
148 {
149 writer.StartTag(NodeError);
150 writer.WriteAttr(AttrErrorMessage, mErrorMessage);
151 writer.EndTag(NodeError);
152 }
153 if(!mDescriptors.empty())
154 {
155 writer.StartTag(NodePlugin);
156 for(auto& desc : mDescriptors)
157 desc.WriteXML(writer);
158 writer.EndTag(NodePlugin);
159 }
160}

Callers 1

ServeMethod · 0.45

Calls 4

StartTagMethod · 0.45
WriteAttrMethod · 0.45
EndTagMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected