Function PrintBlock#

Function Documentation#

void PrintBlock(std::ostream &rstream, const std::string &rssText, size_t nIndentPos, size_t nCurrentPos, size_t nMaxPos)#

Print a block of text indenting nStartOfTextBlock spaces, starting at nCurrentPosition and aligning at nMaxPosition.

Parameters:
  • rstream – [in] Reference to the output stream.

  • rssText – [in] The text to print.

  • nIndentPos – [in] The indentation of the text.

  • nCurrentPos – [in] The start position of the text block.

  • nMaxPos – [in] The last position of the text block.