Utils.hh File Reference

#include <Rivet/Math/Math.hh>
#include <cctype>
#include <algorithm>
#include <cerrno>

Include dependency graph for Utils.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  Rivet
namespace  std

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)
vector< string > split (string path, const string delim=":")
const std::string getLibPath ()
 Get library install path.
const std::string getDataPath ()
 Get data install path.
const std::string getRivetDataPath ()
 Get Rivet data install path.
template<typename T>
void operator+= (set< T > &s1, const set< T > &s2)
template<typename T>
void operator+= (vector< T > &s1, const vector< T > &s2)
template<typename T>
string join (const vector< T > &v, const string &sep=" ")