MCPcopy Create free account
hub / github.com/catboost/catboost / EndElement

Method EndElement

catboost/libs/helpers/xml_output.cpp:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void TXmlOutputContext::EndElement() {
101 if (CurrentElementIsEmpty) {
102 (*Out) << "/>\n";
103 CurrentElementIsEmpty = false;
104 } else {
105 (*Out) << "</" << Elements.top() << ">\n";
106 Elements.pop();
107 }
108}
109

Callers 1

Calls 1

popMethod · 0.45

Tested by

no test coverage detected