#include <TString.h>
Inheritance diagram for TStringRef:
Private Member Functions | |
void | UnLink () |
Ssiz_t | Length () const |
Ssiz_t | Capacity () const |
char * | Data () const |
char & | operator[] (Ssiz_t i) |
char | operator[] (Ssiz_t i) const |
Ssiz_t | First (char c) const |
Ssiz_t | First (const char *s) const |
UInt_t | Hash () const |
UInt_t | HashFoldCase () const |
Ssiz_t | Last (char) const |
void | UnLink () |
Ssiz_t | Length () const |
Ssiz_t | Capacity () const |
char * | Data () const |
char & | operator[] (Ssiz_t i) |
char | operator[] (Ssiz_t i) const |
Ssiz_t | First (char c) const |
Ssiz_t | First (const char *s) const |
UInt_t | Hash () const |
UInt_t | HashFoldCase () const |
Ssiz_t | Last (char) const |
Static Private Member Functions | |
static TStringRef * | GetRep (Ssiz_t capac, Ssiz_t nchar) |
static TStringRef * | GetRep (Ssiz_t capac, Ssiz_t nchar) |
Private Attributes | |
Ssiz_t | fCapacity |
Ssiz_t | fNchars |
Friends | |
class | TString |
class | TStringLong |
class | TSubString |
Definition at line 88 of file TString.h.
void TStringRef::UnLink | ( | ) | [inline, private] |
Definition at line 440 of file TString.h.
References TRefCnt::RemoveReference().
Referenced by TString::Clobber(), TString::Clone(), TString::operator=(), TString::Prepend(), TString::ReadBuffer(), TStringLong::ReadBuffer(), TString::Remove(), TString::Replace(), and TString::~TString().
Ssiz_t TStringRef::Length | ( | ) | const [inline, private] |
Definition at line 100 of file TString.h.
References fNchars.
Referenced by Hash(), and HashFoldCase().
Ssiz_t TStringRef::Capacity | ( | ) | const [inline, private] |
char* TStringRef::Data | ( | ) | const [inline, private] |
Definition at line 102 of file TString.h.
Referenced by TString::Clobber(), TString::Clone(), First(), GetRep(), Hash(), HashFoldCase(), TString::InitChar(), Last(), TString::Prepend(), TString::ReadBuffer(), TStringLong::ReadBuffer(), TString::Replace(), and TString::TString().
char& TStringRef::operator[] | ( | Ssiz_t | i | ) | [inline, private] |
char TStringRef::operator[] | ( | Ssiz_t | i | ) | const [inline, private] |
Ssiz_t TStringRef::First | ( | char | c | ) | const [private] |
Ssiz_t TStringRef::First | ( | const char * | s | ) | const [private] |
UInt_t TStringRef::Hash | ( | ) | const [private] |
Definition at line 248 of file TString.cxx.
References c, Data(), h, i, kBitsPerByte, Length(), Mash(), p, and SwapInt().
Referenced by TString::Hash().
UInt_t TStringRef::HashFoldCase | ( | ) | const [private] |
Definition at line 277 of file TString.cxx.
References Data(), i, Length(), Mash(), and p.
Referenced by TString::Hash().
Ssiz_t TStringRef::Last | ( | char | ) | const [private] |
TStringRef * TStringRef::GetRep | ( | Ssiz_t | capac, | |
Ssiz_t | nchar | |||
) | [static, private] |
Definition at line 136 of file TString.cxx.
References Data(), fCapacity, fNchars, gNullStringRef, and TRefCnt::SetRefCount().
Referenced by TString::Clobber(), TString::Clone(), TString::InitChar(), TString::Prepend(), TString::ReadBuffer(), TStringLong::ReadBuffer(), TString::Replace(), and TString::TString().
void TStringRef::UnLink | ( | ) | [private] |
Ssiz_t TStringRef::Length | ( | ) | const [inline, private] |
Ssiz_t TStringRef::Capacity | ( | ) | const [inline, private] |
char& TStringRef::operator[] | ( | Ssiz_t | i | ) | [inline, private] |
char TStringRef::operator[] | ( | Ssiz_t | i | ) | const [inline, private] |
Ssiz_t TStringRef::First | ( | char | c | ) | const [private] |
Ssiz_t TStringRef::First | ( | const char * | s | ) | const [private] |
UInt_t TStringRef::Hash | ( | ) | const [private] |
UInt_t TStringRef::HashFoldCase | ( | ) | const [private] |
Ssiz_t TStringRef::Last | ( | char | ) | const [private] |
static TStringRef* TStringRef::GetRep | ( | Ssiz_t | capac, | |
Ssiz_t | nchar | |||
) | [static, private] |
TStringLong [friend] |
TSubString [friend] |
Ssiz_t TStringRef::fCapacity [private] |
Ssiz_t TStringRef::fNchars [private] |
Definition at line 96 of file TString.h.
Referenced by TString::Append(), TString::Clobber(), TString::FormImp(), GetRep(), TString::IsNull(), TString::Length(), Length(), TString::Prepend(), TString::ReadFile(), TString::ReadToDelim(), TString::ReadToken(), and TString::Replace().