MCPcopy Create free account
hub / github.com/RenderKit/embree / indent

Function indent

tutorials/common/scenegraph/xml_parser.cpp:143–145  ·  view source on GitHub ↗

indent to some hierarchy level using spaces */

Source from the content-addressed store, hash-verified

141
142 /* indent to some hierarchy level using spaces */
143 void indent(std::ostream& cout, size_t depth) {
144 for (size_t i=0; i<2*depth; i++) cout << " ";
145 }
146
147 /* store XML to a stream */
148 std::ostream& emitXML(std::ostream& cout, const Ref<XML>& xml, size_t depth = 0)

Callers 3

xml_parser.cppFile · 0.85
calcLengthMethod · 0.85
addIndentAndSuffixMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected