library: libCore
#include "TString.h"

TStringRef


class description - header file
viewCVS header

class TStringRef: public TRefCnt

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TStringRef()
TStringRef(const TStringRef&)
~TStringRef()
voidTRefCnt::AddReference()
TStringRef&operator=(const TStringRef&)
UInt_tTRefCnt::References() const
UInt_tTRefCnt::RemoveReference()
voidTRefCnt::SetRefCount(UInt_t r)
private:
Ssiz_tCapacity() const
char*Data() const
Ssiz_tFirst(char c) const
Ssiz_tFirst(const char* s) const
static TStringRef*GetRep(Ssiz_t capac, Ssiz_t nchar)
UInt_tHash() const
UInt_tHashFoldCase() const
Ssiz_tLast(char) const
Ssiz_tLength() const
char&operator[](Ssiz_t i)
charoperator[](Ssiz_t i) const
voidUnLink()

Data Members

public:
enum TRefCnt::EReferenceFlag { kStaticInit
};
protected:
UInt_tTRefCnt::fRefs(1 less than) number of references
private:
Ssiz_tfCapacityMax string length (excluding null)
Ssiz_tfNcharsString length (excluding null)

Class Description

void UnLink()
{ if (RemoveReference() == 0) delete [] (char*)this; }
Ssiz_t Length()
{ return fNchars; }
Ssiz_t Capacity()
{ return fCapacity; }
char * Data()
{ return (char*)(this+1); }
char & operator[](Ssiz_t i)
{ return ((char*)(this+1))[i]; }
char operator[](Ssiz_t i)
{ return ((char*)(this+1))[i]; }
Ssiz_t First(char c)
Ssiz_t First(const char *s)
UInt_t Hash()
UInt_t HashFoldCase()
Ssiz_t Last(char)
TStringRef * GetRep(Ssiz_t capac, Ssiz_t nchar)
TSubString & operator=(const char *s)

Last update: Tue Nov 21 09:38:38 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.