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

Method ConditionalLineBreak

Source/cmXMLWriter.cxx:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void cmXMLWriter::ConditionalLineBreak(bool condition)
110{
111 if (condition) {
112 this->Output << '\n';
113 for (std::size_t i = 0; i < this->Indent + this->Level; ++i) {
114 this->Output << this->IndentationElement;
115 }
116 }
117}
118
119void cmXMLWriter::PreAttribute()
120{

Callers 8

StartElementMethod · 0.95
EndElementMethod · 0.95
ElementMethod · 0.95
CommentMethod · 0.95
DoctypeMethod · 0.95
ProcessingInstructionMethod · 0.95
PreAttributeMethod · 0.95
CloseStartElementMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected