StringUtility.h File Reference

Detailed Description

#include <algorithm>
#include <cctype>
#include <string>
#include <vector>
#include "core/StringUtility.impl.h"

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 

Functions

void walberla::string_to_upper (std::string &s)
 
std::string walberla::string_to_upper_copy (const std::string &s)
 
void walberla::string_to_lower (std::string &s)
 
std::string walberla::string_to_lower_copy (const std::string &s)
 
void walberla::string_trim_left (std::string &s)
 
void walberla::string_trim_right (std::string &s)
 
void walberla::string_trim (std::string &s)
 
std::string walberla::string_trim_left_copy (const std::string &s)
 
std::string walberla::string_trim_right_copy (const std::string &s)
 
std::string walberla::string_trim_copy (const std::string &s)
 
std::vector< std::string > walberla::string_split (std::string s, const std::string &delimiters)
 
void walberla::string_replace_all (std::string &s, const std::string &oldSubstr, const std::string &newSubstr)
 
std::string walberla::string_replace_all_copy (const std::string &s, const std::string &oldSubstr, const std::string &newSubstr)
 
bool walberla::string_ends_with (const std::string &s, const std::string &substr)
 
int walberla::string_icompare (const std::string &s1, const std::string &s2)
 
template<typename T >
std::string walberla::to_string_with_precision (T number, uint_t decimalPlaces)
 
template<typename T >
std::string walberla::to_string_only_relevant_digits (T number)