ALBA
albaTextFileReaderHelper.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: ALBA
4Module: albaTextFileReaderHelper.h
5Authors: Gianluigi Crimi
6
7Copyright (c) BIC
8All rights reserved. See Copyright.txt or
9http://www.scsitaly.com/Copyright.htm for details.
10
11This software is distributed WITHOUT ANY WARRANTY; without even
12the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaTextFileReaderHelper_H__
18#define __albaTextFileReaderHelper_H__
19
20#include "albaString.h"
21
23class albaObserver;
24
25class ALBA_EXPORT albaTextFileReaderHelper
26{
27public:
30
31 int GetLine(bool toUpper=false);
32 int ReplaceInString(char *str, char from, char to);
33 int ReadInit(albaString &fileName, int textMode, int showProgressBar, albaString progressBarText, albaObserver *listener);
34
36
37protected:
38
40 char *m_Buffer;
43 char m_Line[512];
46
48
49
50};
51
52#endif
Interface implementing the Observer of the Subject/Observer design pattern.
Definition: albaObserver.h:36
albaProgressBarHelper Is an helper for manage progress bar advance
albaString - performs common string operations on c-strings.
Definition: albaString.h:43
int GetLine(bool toUpper=false)
albaProgressBarHelper * m_ProgressHelper
int ReplaceInString(char *str, char from, char to)
int ReadInit(albaString &fileName, int textMode, int showProgressBar, albaString progressBarText, albaObserver *listener)