MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / SetIndent

Method SetIndent

OutputFormatHelper.h:52–59  ·  view source on GitHub ↗

\brief Set the indent level of this class to \c indent.

Source from the content-addressed store, hash-verified

50
51 /// \brief Set the indent level of this class to \c indent.
52 void SetIndent(const unsigned indent, const SkipIndenting skipIndenting = SkipIndenting::No)
53 {
54 mDefaultIndent = indent;
55
56 if(SkipIndenting::No == skipIndenting) {
57 Indent(mDefaultIndent);
58 }
59 }
60
61 /// \brief Set the indent level of this class to that of \c rhs.
62 void SetIndent(const OutputFormatHelper& rhs, const SkipIndenting skipIndenting = SkipIndenting::No)

Callers 5

InsertArgMethod · 0.80
LambdaHelperMethod · 0.80
InsertCXXMethodDeclMethod · 0.80
InsertArgMethod · 0.80
InsertCXXMethodDeclMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected