Trim string from whitespace (' ', '
')
More...
#include <log4cplus.hpp>
|
| enum | : std::uint8_t { Right = 1 << 2
} |
| |
|
| | Trim (std::string_view str, std::uint8_t spec=Right) noexcept |
| | Construct from exception derived from std::exception.
|
| |
|
| static constexpr std::string_view | WHITESPACE = " \n\t" |
| |
|
| std::ostream & | operator<< (std::ostream &os, Trim const &trim) |
| | Formats string by trimming as.
|
| |
Trim string from whitespace (' ', '
')
Definition at line 40 of file log4cplus.hpp.
◆ anonymous enum
| anonymous enum : std::uint8_t |
◆ Trim()
| daq::Trim::Trim |
( |
std::string_view |
str, |
|
|
std::uint8_t |
spec = Right |
|
) |
| |
|
inlineexplicitnoexcept |
Construct from exception derived from std::exception.
Definition at line 49 of file log4cplus.hpp.
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
Trim const & |
trim |
|
) |
| |
|
friend |
Formats string by trimming as.
- Parameters
-
| os | output stream to output to. |
| reporter | Reporter adapter to format. |
- Returns
- os
Definition at line 35 of file log4cplus.cpp.
◆ WHITESPACE
| constexpr std::string_view daq::Trim::WHITESPACE = " \n\t" |
|
staticconstexpr |
The documentation for this class was generated from the following file: