MCPcopy Create free account
hub / github.com/Kitware/CMake / StartElement

Method StartElement

Source/cmXMLWriter.cxx:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void cmXMLWriter::StartElement(std::string const& name)
33{
34 this->CloseStartElement();
35 this->ConditionalLineBreak(!this->IsContent);
36 this->Output << '<' << name;
37 this->Elements.push(name);
38 ++this->Indent;
39 this->ElementOpen = true;
40 this->BreakAttrib = false;
41}
42
43void cmXMLWriter::EndElement()
44{

Callers 1

ElementMethod · 0.95

Calls 2

CloseStartElementMethod · 0.95
ConditionalLineBreakMethod · 0.95

Tested by

no test coverage detected