Namespaces | Functions
StringUtils.h File Reference
#include <string>
#include <vector>
#include "Framework/Utils/StringUtils.icc"

Go to the source code of this file.

Namespaces

 genie::utils::str
 Utilities for string manipulation.
 
 genie
 THE MAIN GENIE PROJECT NAMESPACE
 
 genie::utils
 Root of GENIE utility namespaces.
 

Functions

string genie::utils::str::TrimSpaces (string input)
 
string genie::utils::str::IntAsString (int i)
 
vector< stringgenie::utils::str::Split (string input, string delim)
 
string genie::utils::str::RemoveSuccessiveSpaces (string input)
 
void genie::utils::str::ReplaceStringInPlace (string &subject, const string &search, const string &replace)
 
string genie::utils::str::FilterString (string filt, string input)
 
string genie::utils::str::ToUpper (string input)
 
string genie::utils::str::ToLower (string input)
 
template<class T >
bool genie::utils::str::Convert (const vector< std::string > &input, std::vector< T > &v)