66 wxString m_ParseFileType;
67 wxFileName m_ParseFileName;
68 static int m_iActualLine;
72 bool CheckParseFileExist();
79 wxString GetParserType() {
80 return m_ParseFileType;
83 void SetParseFileName(
const wxString& myFileName);
85 void SetParseFileName(
const wxFileName& myFileName);
87 virtual bool OpenParseFile(
bool bCreate = FALSE);
89 virtual int ParseNextLine(wxArrayString& myValues);
91 virtual bool WriteNextLine(
const wxArrayString& myValues) {
95 virtual bool CloseParseFile();
97 int GetActualLineNumber() {
101 void InitActualLineNumber() {
105 inline void IncrementActualLineNumber(
int iIncrement = 1);
111 static wxString GetAllSupportedParserWildCards();
113 static TextParser* CreateParserBasedOnType(
const int& textparser_index,
const wxFileName& filename);
115 virtual bool CheckFileToParse() {
Definition textparser.h:158
Definition textparser.h:172
for parsing text based file
Definition textparser.h:129
virtual bool CheckFileToParse()
Check that the file has the correct separator.
Definition textparser.cpp:249
Super-class for parsing different file.
Definition textparser.h:64
void SetNumberOfFields(int inbfield)
Set the number of fields we are looking for.
Definition textparser.cpp:109