|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #ifndef READCARDS_UTILS_H
22 #define READCARDS_UTILS_H
30 std::string
chop(std::string& ,
const std::string& );
31 std::string
chomp(std::string& ,
const std::string& );
34 std::string
choptoken(std::string& ,
const std::string& );
37 std::string
chomptoken(std::string& ,
const std::string& );
44 void replace(std::string&
s,
const std::string&
s2=
" \t",
const std::string&
s3=
"-");
48 std::string
chopfirst(std::string&
s1,
const std::string&
s2=
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.:/");
51 std::string
choplast(std::string&
s1,
const std::string&
s2=
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_");
54 std::string
chopends(std::string&
s1,
const std::string&
s2=
" \t");
67 bool canopen(
const std::string& );
71 std::string
number(
const int&
i,
const std::string&
s=
"%d");
72 std::string
number(
const double&
d,
const std::string&
s=
"%lf");
std::string chopfirst(std::string &s1, const std::string &s2="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.:/")
double deltaPhi(double, double)
std::string dirname(std::string name)
bool canopen(const std::string &)
std::string chopends(std::string &s1, const std::string &s2=" \t")
std::string chop(std::string &, const std::string &)
std::string choptoken(std::string &, const std::string &)
std::string number(const int &i, const std::string &s="%d")
std::string basename(std::string name)
std::string choplast(std::string &s1, const std::string &s2="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_")
void depunctuate(std::string &)
void replace(std::string &s, const std::string &s2=" \t", const std::string &s3="-")
void removespace(std::string &s, const std::string &s2=" \t")
std::string chomp(std::string &, const std::string &)
std::string chomptoken(std::string &, const std::string &)