Scid  4.6.5
Public Member Functions | List of all members
TextBuffer Class Reference

#include <textbuf.h>

Public Member Functions

 TextBuffer ()
 
 ~TextBuffer ()
 
void Init ()
 
void Free ()
 
void Empty ()
 
void SetBufferSize (uint length)
 
uint GetBufferSize ()
 
uint GetByteCount ()
 
uint GetLineCount ()
 
uint GetColumn ()
 
uint GetWrapColumn ()
 
void SetWrapColumn (uint column)
 
uint GetIndent ()
 
void SetIndent (uint column)
 
char * GetBuffer ()
 
void NewlinesToSpaces (bool b)
 
void AddTranslation (char ch, const char *str)
 
void ClearTranslation (int ch)
 
void ClearTranslations ()
 
void PauseTranslations ()
 
void ResumeTranslations ()
 
errorT NewLine ()
 
errorT Indent ()
 
errorT PrintLine (const char *str)
 
errorT PrintWord (const char *str)
 
errorT PrintString (const char *str)
 
errorT PrintSpace ()
 
errorT PrintChar (char b)
 
errorT PrintInt (uint i, const char *str)
 
errorT PrintInt (uint i)
 

Detailed Description

Definition at line 22 of file textbuf.h.

Constructor & Destructor Documentation

TextBuffer::TextBuffer ( )
inline

Definition at line 50 of file textbuf.h.

TextBuffer::~TextBuffer ( )
inline

Definition at line 54 of file textbuf.h.

Member Function Documentation

void TextBuffer::AddTranslation ( char  ch,
const char *  str 
)

Definition at line 66 of file textbuf.cpp.

void TextBuffer::ClearTranslation ( int  ch)
inline

Definition at line 75 of file textbuf.h.

void TextBuffer::ClearTranslations ( )
inline

Definition at line 76 of file textbuf.h.

void TextBuffer::Empty ( void  )

Definition at line 51 of file textbuf.cpp.

void TextBuffer::Free ( void  )

Definition at line 35 of file textbuf.cpp.

char* TextBuffer::GetBuffer ( )
inline

Definition at line 69 of file textbuf.h.

uint TextBuffer::GetBufferSize ( )
inline

Definition at line 61 of file textbuf.h.

uint TextBuffer::GetByteCount ( )
inline

Definition at line 62 of file textbuf.h.

uint TextBuffer::GetColumn ( )
inline

Definition at line 64 of file textbuf.h.

uint TextBuffer::GetIndent ( )
inline

Definition at line 67 of file textbuf.h.

uint TextBuffer::GetLineCount ( )
inline

Definition at line 63 of file textbuf.h.

uint TextBuffer::GetWrapColumn ( )
inline

Definition at line 65 of file textbuf.h.

errorT TextBuffer::Indent ( )

Definition at line 116 of file textbuf.cpp.

void TextBuffer::Init ( void  )

Definition at line 21 of file textbuf.cpp.

errorT TextBuffer::NewLine ( )

Definition at line 98 of file textbuf.cpp.

void TextBuffer::NewlinesToSpaces ( bool  b)
inline

Definition at line 70 of file textbuf.h.

void TextBuffer::PauseTranslations ( )
inline

Definition at line 77 of file textbuf.h.

errorT TextBuffer::PrintChar ( char  b)

Definition at line 187 of file textbuf.cpp.

errorT TextBuffer::PrintInt ( uint  i,
const char *  str 
)

Definition at line 232 of file textbuf.cpp.

errorT TextBuffer::PrintInt ( uint  i)
inline

Definition at line 89 of file textbuf.h.

errorT TextBuffer::PrintLine ( const char *  str)

Definition at line 135 of file textbuf.cpp.

errorT TextBuffer::PrintSpace ( void  )

Definition at line 172 of file textbuf.cpp.

errorT TextBuffer::PrintString ( const char *  str)

Definition at line 200 of file textbuf.cpp.

errorT TextBuffer::PrintWord ( const char *  str)

Definition at line 151 of file textbuf.cpp.

void TextBuffer::ResumeTranslations ( )
inline

Definition at line 78 of file textbuf.h.

void TextBuffer::SetBufferSize ( uint  length)

Definition at line 80 of file textbuf.cpp.

void TextBuffer::SetIndent ( uint  column)
inline

Definition at line 68 of file textbuf.h.

void TextBuffer::SetWrapColumn ( uint  column)
inline

Definition at line 66 of file textbuf.h.


The documentation for this class was generated from the following files: