simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Classes | Functions
STR_UTILS Namespace Reference

Classes

struct  IsLonger
 
struct  IsShorter
 

Functions

vector< TString > Tokenize (TString line, TString delim)
 
vector< string > TokenizeStr (string line, string delim)
 
int Duplicates (std::vector< TString > list)
 
bool StringIsPresent (std::vector< TString > &list, TString &s)
 
template<typename T >
string ToString (T Number)
 
template<typename N >
ToNumber (const string &Text)
 
TString Name (TString str1, TString sep, TString str2="")
 
TString Name (TString str1, TString sep1, TString str2, TString sep2, TString str3)
 
TString Name (TString str1, TString sep1, TString str2, TString sep2, TString str3, TString sep3, TString str4)
 
TString SplitLineLabel (TString top, TString bottom)
 
TString Title (TString tit1, TString sep, TString tit2)
 
TString TitleXYZ (TString tit, TString titx, TString tity="", TString titz="")
 
TString AppendToTitleXYZ (TString tit, TString sep, TString tit2)
 
TString PrependToTitleXYZ (TString tit, TString sep, TString tit2)
 
vector< TString > GetPath2 (TString path_full)
 
TString GetPath (TString path_full, TString *path_to, TString *name)
 

Detailed Description

Alias is defined as well

namespace StringUtils = STR_UTILS;

Function Documentation

TString STR_UTILS::AppendToTitleXYZ ( TString  tit,
TString  sep,
TString  tit2 
)
inline

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

title sep tit2;xx;yy;zz

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

title sep tit2;xx;yy;zz

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

title sep tit2;xx;yy;zz

TString STR_UTILS::PrependToTitleXYZ ( TString  tit,
TString  sep,
TString  tit2 
)
inline

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

tit2 sep title;xx;yy;zz

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

tit2 sep title;xx;yy;zz

Use this to add a string to a title in the format title;xx;yy;zz since a string added to this title will be shown to along with the last axis label which is set

the resuting string of the method is

tit2 sep title;xx;yy;zz