eDSP
0.0.1
A cross-platform DSP library written in C++.
|
Functions | |
template<typename InputIt , typename Char > | |
void | join (InputIt first, InputIt last, std::basic_string< Char > &d_str, Char delimiter='') |
Join the strings in the range [first, last) and stores the result in another string, beginning at d_first. More... | |
template<typename Char , typename OutputIt > | |
void | split (const std::basic_string< Char > &str, OutputIt d_first, Char character=' ') |
Splits this string around matches of the given character and stores the result in another range, beginning at d_first. More... | |
template<typename Char > | |
constexpr Char | tolower (Char character) |
template<typename InputIt , typename OutputIt > | |
constexpr void | tolower (InputIt first, InputIt last, OutputIt d_first) |
Converts the characters in the range [first, last) to lowercase according to the character conversion rules defined by the currently installed C locale and stores the result in another range, beginning at d_first. More... | |
template<typename Char > | |
constexpr Char | toupper (Char character) |
template<typename InputIt , typename OutputIt > | |
constexpr void | toupper (InputIt first, InputIt last, OutputIt d_first) |
Converts the characters in the range [first, last) to uppercase according to the character conversion rules defined by the currently installed C locale and stores the result in another range, beginning at d_first. More... | |
template<typename Char > | |
void | ltrim (std::basic_string< Char > &str) |
Filters the leading whitespace of the input string. More... | |
template<typename Char > | |
void | rtrim (std::basic_string< Char > &str) |
Filters the trailing whitespace of the last position of the input string. More... | |
template<typename Char > | |
void | trim (std::basic_string< Char > &str) |
Filters the leading and trailing whitespace of the input string. More... | |
|
inline |
Join the strings in the range [first, last) and stores the result in another string, beginning at d_first.
first | Input iterator defining the beginning of the input range. |
last | Input iterator defining the ending of the input range. |
d_str | Output string. |
delimiter | The delimiting character. |
|
inline |
Filters the leading whitespace of the input string.
str | Input string. |
|
inline |
Filters the trailing whitespace of the last position of the input string.
str | Input string. |
|
inline |
Splits this string around matches of the given character and stores the result in another range, beginning at d_first.
str | Input string. |
character | The delimiting character. |
d_first | Output iterator defining the beginning of the destination range. |
constexpr Char edsp::string::tolower | ( | Char | character | ) |
Converts the given character to lowercase according to the character conversion rules defined by the currently installed C locale.
character | character to be converted. |
constexpr void edsp::string::tolower | ( | InputIt | first, |
InputIt | last, | ||
OutputIt | d_first | ||
) |
Converts the characters in the range [first, last) to lowercase according to the character conversion rules defined by the currently installed C locale and stores the result in another range, beginning at d_first.
first | Input iterator defining the beginning of the input range. |
last | Input iterator defining the ending of the input range. |
d_first | Output iterator defining the beginning of the destination range. |
constexpr Char edsp::string::toupper | ( | Char | character | ) |
Converts the given character to uppercase according to the character conversion rules defined by the currently installed C locale.
character | character to be converted. |
constexpr void edsp::string::toupper | ( | InputIt | first, |
InputIt | last, | ||
OutputIt | d_first | ||
) |
Converts the characters in the range [first, last) to uppercase according to the character conversion rules defined by the currently installed C locale and stores the result in another range, beginning at d_first.
first | Input iterator defining the beginning of the input range. |
last | Input iterator defining the ending of the input range. |
d_first | Output iterator defining the beginning of the destination range. |
|
inline |
Filters the leading and trailing whitespace of the input string.
str | Input string. |