library: libCore #include "TString.h"

# TSubString

class description - 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

     TString

     Basic string class.

     Cannot be stored in a TCollection... use TObjString instead.

inline const char* Data() const

### Inline Functions

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

Author: Fons Rademakers 04/08/95
Last update: root/base:$Name: $:$Id: TString.h,v 1.39 2005/06/23 06:24:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *