20#ifndef OPM_UTILITY_STRING_HPP
21#define OPM_UTILITY_STRING_HPP
30template<
typename T,
typename U>
31U& uppercase(
const T& src, U& dst );
34typename std::decay< T >::type uppercase( T&& x ) {
35 typename std::decay< T >::type t( std::forward< T >( x ) );
36 return uppercase( t, t );
40std::string ltrim_copy(
const T& s);
43std::string rtrim_copy(
const T& s);
46std::string trim_copy(
const T& s);
49void replaceAll(T& data,
const T& toSearch,
const T& replace);
51std::vector<std::string> split_string(
const std::string& input,
54std::vector<std::string> split_string(
const std::string& input,
55 const std::string& delimiters);
57std::string format_double(
double d);
59std::optional<double> try_parse_double(
const std::string& token);
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30