SpECTRE Documentation Coverage Report
Current view: top level - Utilities - WrapText.hpp Hit Total Coverage
Commit: 7b84572e7f3b8c8fb2d105e3d4e12204a244a350 Lines: 1 2 50.0 %
Date: 2025-04-18 14:09:55
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include <cstddef>
       7             : #include <string>
       8             : 
       9             : /// \ingroup UtilitiesGroup
      10             : /// \brief Wrap the string `str` so that it is no longer than `line_length` and
      11             : /// indent each new line with `indentation`. The first line is also indented.
      12             : ///
      13             : /// Single words longer than `line_length` are hyphenated.
      14           1 : std::string wrap_text(std::string str, size_t line_length,
      15             :                       const std::string& indentation = "");

Generated by: LCOV version 1.14