#include <Rivet/Math/Math.hh>
#include <cctype>
#include <algorithm>
#include <cerrno>
Go to the source code of this file.
Namespaces | |
namespace | Rivet |
namespace | std |
STL namespace. | |
Defines | |
#define | CEDARSTD |
Functions | |
int | nocase_cmp (const string &s1, const string &s2) |
string | toLower (const string &s) |
string | toUpper (const string &s) |
bool | startsWith (const string &s, const string &start) |
bool | endsWith (const string &s, const string &end) |
Check whether a string end is found at the end of s. | |
vector< string > | pathsplit (const string &path) |
Split a path string with colon delimiters. Ignores zero-length substrings. Designed for getting elements of filesystem paths, naturally. | |
vector< string > | split (const string &path, const string &UNUSED(delim)=":") |
string | pathjoin (const vector< string > &paths) |
Join several filesystem paths together with a delimiter character. Note that this does NOT join path elements together with a platform-portable directory delimiter, cf. the Python {os.path.join}! | |
template<typename T > | |
void | operator+= (set< T > &s1, const set< T > &s2) |
template<typename T > | |
set< T > | operator+ (const set< T > &s1, const set< T > &s2) |
template<typename T > | |
string | join (const set< T > &s, const string &sep=" ") |
template<typename T > | |
void | operator+= (vector< T > &v1, const vector< T > &v2) |
template<typename T > | |
vector< T > | operator+ (const vector< T > &v1, const vector< T > &v2) |
template<typename T > | |
string | join (const vector< T > &v, const string &sep=" ") |