library: libCore
#include "TString.h"

TSubString


class description - header file - source file - inheritance tree (.pdf)

class TSubString

Inheritance Chart:
TSubString
    private:
TSubString(const TString& s, Ssiz_t start, Ssiz_t len) protected:
void AssertElement(Ssiz_t i) const void SubStringError(Ssiz_t, Ssiz_t, Ssiz_t) const public:
TSubString(const TSubString& s) ~TSubString() const char* Data() const Bool_t IsNull() const Ssiz_t Length() const int operator!() const char& operator()(Ssiz_t i) char operator()(Ssiz_t i) const TSubString& operator=(const char* s) TSubString& operator=(const TString& s) TSubString& operator=(const TSubString&) char& operator[](Ssiz_t i) char operator[](Ssiz_t i) const Ssiz_t Start() const void ToLower() void ToUpper()

Data Members

    private:
TString* fStr Referenced string Ssiz_t fBegin Index of starting character Ssiz_t fExtent Length of TSubString

Class Description

 Access to elements of sub-string with bounds checking

Ssiz_t Length()
char operator[](Ssiz_t i)
TSubString(const TString &s, Ssiz_t start, Ssiz_t len)
 NB: the only constructor is private
void SubStringError(Ssiz_t, Ssiz_t, Ssiz_t)
void AssertElement(Ssiz_t i)
TSubString(const TSubString &s)
char operator()(Ssiz_t i)
char operator[](Ssiz_t i)
Ssiz_t Start()
void ToLower()
void ToUpper()
Bool_t IsNull()
 For detecting null substrings
int operator!()
TSubString operator()(Ssiz_t start, Ssiz_t len)

Last update: Tue Jul 11 12:00:25 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.