Trim string from whitespace (' ', '
')
More...
#include <log4cplus.hpp>
|
enum | : uint8_t { Right = 1 << 2
} |
|
|
| Trim (std::string_view str, uint8_t spec=Right) noexcept |
| Construct from exception derived from std::exception. More...
|
|
|
static constexpr std::string_view | WHITESPACE = " \n\t" |
|
Trim string from whitespace (' ', '
')
Definition at line 39 of file log4cplus.hpp.
◆ anonymous enum
◆ Trim()
daq::Trim::Trim |
( |
std::string_view |
str, |
|
|
uint8_t |
spec = Right |
|
) |
| |
|
inlineexplicitnoexcept |
Construct from exception derived from std::exception.
Definition at line 48 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: