Apycom jQuery Menus

TextFile Class Reference

#include <textfile.h>

Collaboration diagram for TextFile:

List of all members.

Public Member Functions

 TextFile ()
 ~TextFile ()
int Close (void)
int Flush (void)
int FormatString (BOOL *data_lost, const TCHAR *s,...)
bool GetAnsiPassThru (void)
int GetEncoding (void)
int Open (const TCHAR *filename, int filemode, int encoding=0, int bufsize=0)
int ReadChar (void)
int ReadLine (BOOL *data_lost, TCHAR **line_buf)
void SetAnsiPassThru (bool passthru)
void SetCodePage (int code_page)
void SetUnknownChar (const char *unknown_char)
int vFormatString (BOOL *data_lost, const TCHAR *s, va_list ap)
int WriteChar (BOOL *data_lost, int ch)
int WriteString (BOOL *data_lost, const TCHAR *s)

Detailed Description

Definition at line 96 of file textfile.h.

Constructor & Destructor Documentation

TextFile::TextFile (  ) 

Definition at line 1145 of file textfile.cpp.

TextFile::~TextFile (  ) 

Definition at line 1160 of file textfile.cpp.

Member Function Documentation

int TextFile::Close ( void   ) 

Definition at line 1230 of file textfile.cpp.

int TextFile::Flush ( void   ) 

Definition at line 1246 of file textfile.cpp.

int TextFile::FormatString ( BOOL *  data_lost,
const TCHAR *  s,

Definition at line 1323 of file textfile.cpp.

bool TextFile::GetAnsiPassThru ( void   )  [inline]

Definition at line 158 of file textfile.h.

int TextFile::GetEncoding ( void   )  [inline]

Definition at line 143 of file textfile.h.

int TextFile::Open ( const TCHAR *  filename,
int  filemode,
int  encoding = 0,
int  bufsize = 0 

Definition at line 1168 of file textfile.cpp.

int TextFile::ReadChar ( void   ) 

Definition at line 1270 of file textfile.cpp.

int TextFile::ReadLine ( BOOL *  data_lost,
TCHAR **  line_buf 

Definition at line 1256 of file textfile.cpp.

void TextFile::SetAnsiPassThru ( bool  passthru  ) 

Definition at line 1380 of file textfile.cpp.

void TextFile::SetCodePage ( int  code_page  )  [inline]

Definition at line 146 of file textfile.h.

void TextFile::SetUnknownChar ( const char *  unknown_char  ) 

Definition at line 1370 of file textfile.cpp.

int TextFile::vFormatString ( BOOL *  data_lost,
const TCHAR *  s,
va_list  ap 

Definition at line 1336 of file textfile.cpp.

int TextFile::WriteChar ( BOOL *  data_lost,
int  ch 

Definition at line 1348 of file textfile.cpp.

int TextFile::WriteString ( BOOL *  data_lost,
const TCHAR *  s 

Definition at line 1278 of file textfile.cpp.

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