MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Visit

Method Visit

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:1711–1732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1709}
1710
1711bool TiXmlPrinter::Visit(const TiXmlText& text)
1712{
1713 if (text.CDATA())
1714 {
1715 DoIndent();
1716 buffer += "<![CDATA[";
1717 buffer += text.Value();
1718 buffer += "]]>";
1719 DoLineBreak();
1720 }
1721 else if (simpleTextPrint)
1722 {
1723 buffer += text.Value();
1724 }
1725 else
1726 {
1727 DoIndent();
1728 buffer += text.Value();
1729 DoLineBreak();
1730 }
1731 return true;
1732}
1733
1734bool TiXmlPrinter::Visit(const TiXmlDeclaration& declaration)
1735{

Callers 1

AcceptMethod · 0.45

Calls 3

CDATAMethod · 0.80
ValueMethod · 0.45
PrintMethod · 0.45

Tested by

no test coverage detected