Public Member Functions | |
| TGTextLine () | |
| Create empty line of text (default ctor).   | |
| TGTextLine (const char *string) | |
| Initialize line of text with a const char*.   | |
| TGTextLine (TGTextLine *line) | |
| Initialize line of text with other line of text (not copy ctor).   | |
| virtual | ~TGTextLine () | 
| Delete a line of text.   | |
| void | Clear () | 
| Clear a line of text.   | |
| void | DelChar (ULong_t pos) | 
| Delete a character from the line.   | |
| void | DelText (ULong_t pos, ULong_t length) | 
| Delete length chars from line starting at position pos.   | |
| char | GetChar (ULong_t pos) | 
| Get a character at the specified position from the line.   | |
| ULong_t | GetLineLength () | 
| char * | GetText () const | 
| char * | GetText (ULong_t pos, ULong_t length) | 
| Get length characters from line starting at pos.   | |
| char * | GetWord (ULong_t pos) | 
| Get word at position. Returned string must be deleted.   | |
| void | InsChar (ULong_t pos, char character) | 
| Insert a character at the specified position.   | |
| void | InsText (ULong_t pos, const char *text) | 
| Insert text in line starting at position pos.   | |
| virtual TClass * | IsA () const | 
| virtual void | Streamer (TBuffer &) | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
Static Public Member Functions | |
| static TClass * | Class () | 
| static const char * | Class_Name () | 
| static constexpr Version_t | Class_Version () | 
| static const char * | DeclFileName () | 
Protected Member Functions | |
| TGTextLine (const TGTextLine &) | |
| copy constructor   | |
| TGTextLine & | operator= (const TGTextLine &) | 
| assignment operator   | |
Protected Attributes | |
| ULong_t | fLength | 
| length of line   | |
| TGTextLine * | fNext | 
| next line   | |
| TGTextLine * | fPrev | 
| previous line   | |
| char * | fString | 
| line of text   | |
Friends | |
| class | TGText | 
#include <TGText.h>
      
  | 
  protected | 
copy constructor
Definition at line 84 of file TGText.cxx.
| TGTextLine::TGTextLine | ( | ) | 
Create empty line of text (default ctor).
Definition at line 46 of file TGText.cxx.
| TGTextLine::TGTextLine | ( | TGTextLine * | line | ) | 
Initialize line of text with other line of text (not copy ctor).
Definition at line 56 of file TGText.cxx.
| TGTextLine::TGTextLine | ( | const char * | string | ) | 
Initialize line of text with a const char*.
Definition at line 68 of file TGText.cxx.
      
  | 
  virtual | 
Delete a line of text.
Definition at line 115 of file TGText.cxx.
| void TGTextLine::Clear | ( | ) | 
Clear a line of text.
Definition at line 124 of file TGText.cxx.
| void TGTextLine::DelChar | ( | ULong_t | pos | ) | 
Delete a character from the line.
Definition at line 262 of file TGText.cxx.
Delete length chars from line starting at position pos.
Definition at line 135 of file TGText.cxx.
| char TGTextLine::GetChar | ( | ULong_t | pos | ) | 
Get a character at the specified position from the line.
Returns -1 if pos is out of range.
Definition at line 302 of file TGText.cxx.
Get length characters from line starting at pos.
Returns 0 in case pos and length are out of range. The returned string must be freed by the user.
Definition at line 183 of file TGText.cxx.
| char * TGTextLine::GetWord | ( | ULong_t | pos | ) | 
Get word at position. Returned string must be deleted.
Definition at line 203 of file TGText.cxx.
| void TGTextLine::InsChar | ( | ULong_t | pos, | 
| char | character ) | 
Insert a character at the specified position.
Definition at line 281 of file TGText.cxx.
Insert text in line starting at position pos.
Definition at line 160 of file TGText.cxx.
      
  | 
  protected | 
assignment operator
Definition at line 98 of file TGText.cxx.
      
  | 
  inline | 
      
  | 
  protected | 
      
  | 
  protected |