11 #ifndef ROOT_TMemStatHelpers
12 #define ROOT_TMemStatHelpers
31 struct SFind_t : std::binary_function<TObject*, TString, bool> {
33 TObjString *str(dynamic_cast<TObjString*>(_Obj));
49 iterator_t
iter(&_Container);
53 return ((!(*found)) ? -1 :
std::distance(iter.Begin(), found));
60 return std::tolower(c);
Collectable string class.
Double_t distance(const TPoint2 &p1, const TPoint2 &p2)
bool operator()(TObject *_Obj, const TString &_ToFind) const
std::string dig2bytes(Long64_t bytes)
This function creates a string representation of the number of bytes, represented as a number in B...
std::map< std::string, std::string >::const_iterator iter
Int_t find_string(const T &_Container, const TString &_ToFind)
char operator()(char c) const
Mother of all ROOT objects.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.