62 return console_width_;
65 friend struct ConsoleWidthTest;
69 int console_width_ = std::numeric_limits<int>::max();
Definition: ConsoleUtils.h:26
static String breakString(const String &input, const Size indentation, const Size max_lines, const Size first_line_prefill=0)
same as breakStringList(), but concatenates the result using ' ' for convenience
void operator=(ConsoleUtils const &)=delete
Assignment operator (deleted)
static StringList breakStringList(const String &input, const Size indentation, const Size max_lines, const Size first_line_prefill=0)
static const ConsoleUtils & getInstance()
returns the singleton – the only instanciation of this class
StringList breakString_(const String &input, const Size indentation, const Size max_lines, Size first_line_prefill) const
returns a console friendly version of input
int getConsoleWidth() const
width of the console (or INTMAX on internal error)
Definition: ConsoleUtils.h:60
ConsoleUtils()
C'tor (private) – use ConsoleUtils::getInstance()
ConsoleUtils(const ConsoleUtils &)=delete
Copy C'tor (deleted)
int readConsoleSize_()
read console settings for output shaping
A more convenient string class.
Definition: String.h:34
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19