ALBA
Public Member Functions | Protected Attributes | List of all members
albaTextFileReaderHelper Class Reference

#include <albaTextFileReaderHelper.h>

Collaboration diagram for albaTextFileReaderHelper:
Collaboration graph
[legend]

Public Member Functions

 albaTextFileReaderHelper ()
 
 ~albaTextFileReaderHelper ()
 
int GetLine (bool toUpper=false)
 
int ReplaceInString (char *str, char from, char to)
 
int ReadInit (albaString &fileName, int textMode, int showProgressBar, albaString progressBarText, albaObserver *listener)
 
void ReadFinalize ()
 

Protected Attributes

FILE * m_FilePointer
 
char * m_Buffer
 
int m_BufferLeft
 
int m_BufferPointer
 
char m_Line [512]
 
long m_FileSize
 
long m_BytesReaded
 
albaProgressBarHelperm_ProgressHelper
 

Detailed Description

Definition at line 25 of file albaTextFileReaderHelper.h.

Constructor & Destructor Documentation

◆ albaTextFileReaderHelper()

albaTextFileReaderHelper::albaTextFileReaderHelper ( )

◆ ~albaTextFileReaderHelper()

albaTextFileReaderHelper::~albaTextFileReaderHelper ( )

Member Function Documentation

◆ GetLine()

int albaTextFileReaderHelper::GetLine ( bool  toUpper = false)

◆ ReplaceInString()

int albaTextFileReaderHelper::ReplaceInString ( char *  str,
char  from,
char  to 
)

◆ ReadInit()

int albaTextFileReaderHelper::ReadInit ( albaString fileName,
int  textMode,
int  showProgressBar,
albaString  progressBarText,
albaObserver listener 
)

◆ ReadFinalize()

void albaTextFileReaderHelper::ReadFinalize ( )

Member Data Documentation

◆ m_FilePointer

FILE* albaTextFileReaderHelper::m_FilePointer
protected

Definition at line 39 of file albaTextFileReaderHelper.h.

◆ m_Buffer

char* albaTextFileReaderHelper::m_Buffer
protected

Definition at line 40 of file albaTextFileReaderHelper.h.

◆ m_BufferLeft

int albaTextFileReaderHelper::m_BufferLeft
protected

Definition at line 41 of file albaTextFileReaderHelper.h.

◆ m_BufferPointer

int albaTextFileReaderHelper::m_BufferPointer
protected

Definition at line 42 of file albaTextFileReaderHelper.h.

◆ m_Line

char albaTextFileReaderHelper::m_Line[512]
protected

Definition at line 43 of file albaTextFileReaderHelper.h.

◆ m_FileSize

long albaTextFileReaderHelper::m_FileSize
protected

Definition at line 44 of file albaTextFileReaderHelper.h.

◆ m_BytesReaded

long albaTextFileReaderHelper::m_BytesReaded
protected

Definition at line 45 of file albaTextFileReaderHelper.h.

◆ m_ProgressHelper

albaProgressBarHelper* albaTextFileReaderHelper::m_ProgressHelper
protected

Definition at line 47 of file albaTextFileReaderHelper.h.


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