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

Method CurrentPos

OutputFormatHelper.h:42–42  ·  view source on GitHub ↗

\brief Returns the current position in the output buffer.

Source from the content-addressed store, hash-verified

40
41 /// \brief Returns the current position in the output buffer.
42 size_t CurrentPos() const { return mOutput.length(); }
43
44 /// \brief Insert a string before the position \c atPos
45 void InsertAt(const size_t atPos, std::string_view data) { mOutput.insert(atPos, data); }

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected