TGTextLine Class Reference

#include <TGText.h>

List of all members.

Public Member Functions

 TGTextLine ()
 TGTextLine (TGTextLine *line)
 TGTextLine (const char *string)
virtual ~TGTextLine ()
void Clear ()
ULong_t GetLineLength ()
void DelText (ULong_t pos, ULong_t length)
void InsText (ULong_t pos, const char *text)
char * GetText (ULong_t pos, ULong_t length)
char * GetText () const
char * GetWord (ULong_t pos)
void DelChar (ULong_t pos)
void InsChar (ULong_t pos, char character)
char GetChar (ULong_t pos)
 TGTextLine ()
 TGTextLine (TGTextLine *line)
 TGTextLine (const char *string)
virtual ~TGTextLine ()
void Clear ()
ULong_t GetLineLength ()
void DelText (ULong_t pos, ULong_t length)
void InsText (ULong_t pos, const char *text)
char * GetText (ULong_t pos, ULong_t length)
char * GetText () const
char * GetWord (ULong_t pos)
void DelChar (ULong_t pos)
void InsChar (ULong_t pos, char character)
char GetChar (ULong_t pos)

Protected Member Functions

 TGTextLine (const TGTextLine &)
TGTextLineoperator= (const TGTextLine &)
 TGTextLine (const TGTextLine &)
TGTextLineoperator= (const TGTextLine &)

Protected Attributes

char * fString
ULong_t fLength
TGTextLinefPrev
TGTextLinefNext
char * fString
TGTextLinefPrev
TGTextLinefNext

Friends

class TGText


Detailed Description

Definition at line 35 of file TGText.h.


Constructor & Destructor Documentation

TGTextLine::TGTextLine ( const TGTextLine  )  [protected]

Definition at line 82 of file TGText.cxx.

TGTextLine::TGTextLine (  ) 

TGTextLine::TGTextLine ( TGTextLine line  ) 

Definition at line 53 of file TGText.cxx.

References fLength, fNext, fPrev, fString, and line.

TGTextLine::TGTextLine ( const char *  string  ) 

Definition at line 65 of file TGText.cxx.

References fLength, fNext, fPrev, and fString.

TGTextLine::~TGTextLine (  )  [virtual]

Definition at line 105 of file TGText.cxx.

References fString.

TGTextLine::TGTextLine ( const TGTextLine  )  [protected]

TGTextLine::TGTextLine (  ) 

TGTextLine::TGTextLine ( TGTextLine line  ) 

TGTextLine::TGTextLine ( const char *  string  ) 

virtual TGTextLine::~TGTextLine (  )  [virtual]


Member Function Documentation

TGTextLine & TGTextLine::operator= ( const TGTextLine  )  [protected]

Definition at line 92 of file TGText.cxx.

References fLength, fNext, fPrev, and fString.

void TGTextLine::Clear (  ) 

Definition at line 114 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::Clear().

ULong_t TGTextLine::GetLineLength (  )  [inline]

Definition at line 55 of file TGText.h.

References fLength.

Referenced by TGText::DelText(), TGText::GetLineLength(), and TGTextEdit::HandleDoubleClick().

void TGTextLine::DelText ( ULong_t  pos,
ULong_t  length 
)

Definition at line 125 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::BreakLine(), TGText::DelText(), and TGText::InsText().

void TGTextLine::InsText ( ULong_t  pos,
const char *  text 
)

Definition at line 150 of file TGText.cxx.

References fLength, fString, and strcpy().

Referenced by TGText::DelText(), and TGText::InsText().

char * TGTextLine::GetText ( ULong_t  pos,
ULong_t  length 
)

Definition at line 170 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::AsString(), TGText::BreakLine(), TGText::DelText(), TGText::GetLine(), TGTextEdit::HandleDoubleClick(), and TGText::InsText().

char* TGTextLine::GetText (  )  const [inline]

Definition at line 60 of file TGText.h.

References fString.

char * TGTextLine::GetWord ( ULong_t  pos  ) 

Definition at line 192 of file TGText.cxx.

References fLength, fString, i, length, and start.

void TGTextLine::DelChar ( ULong_t  pos  ) 

Definition at line 251 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::DelChar().

void TGTextLine::InsChar ( ULong_t  pos,
char  character 
)

Definition at line 270 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::InsChar().

char TGTextLine::GetChar ( ULong_t  pos  ) 

Definition at line 290 of file TGText.cxx.

References fLength, and fString.

Referenced by TGText::GetChar().

TGTextLine& TGTextLine::operator= ( const TGTextLine  )  [protected]

void TGTextLine::Clear (  ) 

ULong_t TGTextLine::GetLineLength (  )  [inline]

Definition at line 55 of file TGText.h.

References fLength.

void TGTextLine::DelText ( ULong_t  pos,
ULong_t  length 
)

void TGTextLine::InsText ( ULong_t  pos,
const char *  text 
)

char* TGTextLine::GetText ( ULong_t  pos,
ULong_t  length 
)

char* TGTextLine::GetText (  )  const [inline]

Definition at line 60 of file TGText.h.

References fString.

char* TGTextLine::GetWord ( ULong_t  pos  ) 

void TGTextLine::DelChar ( ULong_t  pos  ) 

void TGTextLine::InsChar ( ULong_t  pos,
char  character 
)

char TGTextLine::GetChar ( ULong_t  pos  ) 


Friends And Related Function Documentation

TGText [friend]

Definition at line 37 of file TGText.h.


Member Data Documentation

char* TGTextLine::fString [protected]

Definition at line 40 of file TGText.h.

Referenced by TGText::Append(), Clear(), DelChar(), TGText::DelText(), DelText(), GetChar(), GetText(), GetWord(), InsChar(), InsText(), TGText::Load(), TGText::LoadBuffer(), operator=(), TGText::ReTab(), TGText::Save(), TGText::Search(), TGTextLine(), and ~TGTextLine().

ULong_t TGTextLine::fLength [protected]

Definition at line 41 of file TGText.h.

Referenced by TGText::Append(), TGText::AsString(), TGText::BreakLine(), Clear(), DelChar(), TGText::DelText(), DelText(), GetChar(), GetLineLength(), GetText(), GetWord(), InsChar(), TGText::InsText(), InsText(), TGText::Load(), TGText::LoadBuffer(), TGText::LongestLine(), operator=(), TGText::ReTab(), TGText::Save(), TGText::Search(), and TGTextLine().

TGTextLine* TGTextLine::fPrev [protected]

Definition at line 42 of file TGText.h.

Referenced by TGText::BreakLine(), TGText::DelLine(), TGText::InsLine(), TGText::InsText(), TGText::Load(), TGText::LoadBuffer(), operator=(), and TGTextLine().

TGTextLine* TGTextLine::fNext [protected]

Definition at line 43 of file TGText.h.

Referenced by TGText::Append(), TGText::AsString(), TGText::BreakLine(), TGText::Clear(), TGText::DelLine(), TGText::DelText(), TGText::InsLine(), TGText::InsText(), TGText::Load(), TGText::LoadBuffer(), TGText::LongestLine(), operator=(), TGText::Save(), TGText::SetCurrentRow(), and TGTextLine().

char* TGTextLine::fString [protected]

Definition at line 40 of file TGText.h.

TGTextLine* TGTextLine::fPrev [protected]

Definition at line 42 of file TGText.h.

TGTextLine* TGTextLine::fNext [protected]

Definition at line 43 of file TGText.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:41:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1