MCPcopy Create free account
hub / github.com/Kitware/VTK / unindent

Method unindent

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:4698–4701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4696void StyledWriter::indent() { indentString_ += String(indentSize_, ' '); }
4697
4698void StyledWriter::unindent() {
4699 assert(indentString_.size() >= indentSize_);
4700 indentString_.resize(indentString_.size() - indentSize_);
4701}
4702
4703void StyledWriter::writeCommentBeforeValue(const Value& root) {
4704 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 3

assertFunction · 0.50
sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected