dune-vtk 2.8
Loading...
Searching...
No Matches
Namespaces | Functions
string.hh File Reference
#include <algorithm>
#include <cctype>
#include <locale>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Dune
 
namespace  Dune::Vtk
 

Functions

std::string Dune::Vtk::to_upper (std::string input)
 convert all characters in a string to upper case More...
 
std::string Dune::Vtk::to_lower (std::string input)
 convert all characters in a string to upper case More...
 
std::string & Dune::Vtk::ltrim (std::string &str)
 trim a string from the left More...
 
std::string & Dune::Vtk::rtrim (std::string &str)
 trim a string from the right More...
 
std::string & Dune::Vtk::trim (std::string &str)
 trim a string from both sides More...
 
std::string Dune::Vtk::trim_copy (std::string const &str)
 trim a (copy of the) string from both sides More...
 
template<class InputIter , class T , class Func >
void Dune::Vtk::split (InputIter first, InputIter end, T const &t, Func f)
 
template<class InputIter , class SeparatorIter , class Func >
void Dune::Vtk::split (InputIter first, InputIter end, SeparatorIter s_first, SeparatorIter s_end, Func f)
 
void Dune::Vtk::replaceAll (std::string &str, std::string const &from, std::string const &to)
 Replace all occurences of substring from with to in source str. More...
 
template<class InputIter >
std::string Dune::Vtk::join (InputIter first, InputIter end, std::string sep=" ")