| 51 | } |
| 52 | |
| 53 | std::string GetIndentation(unsigned int level) const |
| 54 | { |
| 55 | if (!format.newline) |
| 56 | { |
| 57 | return ""; |
| 58 | } |
| 59 | else |
| 60 | { |
| 61 | return std::string(format.indentSize * level, indentationChar); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | inline const std::string &GetNewline() const |
| 66 | { |
no outgoing calls
no test coverage detected