Definition at line 31 of file TGText.h.
#include <TGText.h>
◆ TGTextLine() [1/4]
◆ TGTextLine() [2/4]
TGTextLine::TGTextLine |
( |
| ) |
|
Create empty line of text (default ctor).
Definition at line 45 of file TGText.cxx.
◆ TGTextLine() [3/4]
Initialize line of text with other line of text (not copy ctor).
Definition at line 55 of file TGText.cxx.
◆ TGTextLine() [4/4]
TGTextLine::TGTextLine |
( |
const char * |
string | ) |
|
Initialize line of text with a const char*.
Definition at line 67 of file TGText.cxx.
◆ ~TGTextLine()
TGTextLine::~TGTextLine |
( |
| ) |
|
|
virtual |
Delete a line of text.
Definition at line 115 of file TGText.cxx.
◆ Clear()
void TGTextLine::Clear |
( |
| ) |
|
◆ DelChar()
Delete a character from the line.
Definition at line 262 of file TGText.cxx.
◆ DelText()
Delete length chars from line starting at position pos.
Definition at line 135 of file TGText.cxx.
◆ GetChar()
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.
◆ GetLineLength()
ULong_t TGTextLine::GetLineLength |
( |
| ) |
|
|
inline |
◆ GetText() [1/2]
char * TGTextLine::GetText |
( |
| ) |
const |
|
inline |
◆ GetText() [2/2]
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.
◆ GetWord()
char * TGTextLine::GetWord |
( |
ULong_t |
pos | ) |
|
Get word at position. Returned string must be deleted.
Definition at line 203 of file TGText.cxx.
◆ InsChar()
void TGTextLine::InsChar |
( |
ULong_t |
pos, |
|
|
char |
character |
|
) |
| |
Insert a character at the specified position.
Definition at line 281 of file TGText.cxx.
◆ InsText()
void TGTextLine::InsText |
( |
ULong_t |
pos, |
|
|
const char * |
text |
|
) |
| |
Insert text in line starting at position pos.
Definition at line 160 of file TGText.cxx.
◆ operator=()
assignment operator
Definition at line 98 of file TGText.cxx.
◆ TGText
◆ fLength
◆ fNext
◆ fPrev
◆ fString
char* TGTextLine::fString |
|
protected |
[legend]