ModelViewer 0.1
Template for CPP projects
Loading...
Searching...
No Matches
StringHelpers.hpp File Reference
#include <algorithm>
#include <cctype>
#include <locale>
Include dependency graph for StringHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  model_viewer
 
namespace  model_viewer::string_helpers
 

Functions

bool model_viewer::string_helpers::isNotSpace (const unsigned char ch) noexcept
 
void model_viewer::string_helpers::ltrim (std::string &s)
 Trim from the start (in place)
 
void model_viewer::string_helpers::rtrim (std::string &s)
 Trim from the end (in place)
 
void model_viewer::string_helpers::trim (std::string &s)
 Trim from both ends (in place)
 
std::string model_viewer::string_helpers::ltrim_copy (std::string s)
 Trim from the start (copying)
 
std::string model_viewer::string_helpers::rtrim_copy (std::string s)
 Trim from the end (copying)
 
std::string model_viewer::string_helpers::trim_copy (std::string s)
 Trim from both ends (copying)
 
std::string model_viewer::string_helpers::normalizePath (std::string p)
 Normalize a file path by removing "file://" scheme and leading slash on Windows paths.