ToolMap
|
for parsing text based file More...
#include <textparser.h>
Public Member Functions | |
TextParserTxtFile (const wxString &filename) | |
TextParserTxtFile (const wxFileName &filename) | |
virtual bool | OpenParseFile (bool bCreate=FALSE) |
virtual bool | CloseParseFile () |
virtual int | ParseNextLine (wxArrayString &myValues) |
virtual bool | WriteNextLine (const wxArrayString &myValues) |
virtual bool | CheckFileToParse () |
Check that the file has the correct separator. | |
Public Member Functions inherited from TextParser | |
wxString | GetParserType () |
void | SetParseFileName (const wxString &myFileName) |
void | SetParseFileName (const wxFileName &myFileName) |
int | GetActualLineNumber () |
void | InitActualLineNumber () |
void | IncrementActualLineNumber (int iIncrement=1) |
int | GetLineCount () |
void | SetNumberOfFields (int inbfield) |
Set the number of fields we are looking for. | |
Protected Member Functions | |
virtual void | InitParserValue () |
Protected Member Functions inherited from TextParser | |
bool | CheckParseFileExist () |
Protected Attributes | |
wxTextFile * | m_File |
wxString | m_TextSeparator |
bool | m_WriteMode |
Protected Attributes inherited from TextParser | |
wxString | m_ParseFileType |
wxFileName | m_ParseFileName |
int | m_LineCount |
int | m_NbFieldToParse |
Additional Inherited Members | |
Static Public Member Functions inherited from TextParser | |
static wxString | GetAllSupportedParserWildCards () |
static TextParser * | CreateParserBasedOnType (const int &textparser_index, const wxFileName &filename) |
Static Protected Attributes inherited from TextParser | |
static int | m_iActualLine = 0 |
for parsing text based file
It reads a simple textual file and parse the values found on a line by line basis.
|
virtual |
Check that the file has the correct separator.
Reimplemented from TextParser.
|
virtual |
Reimplemented from TextParser.
|
virtual |
Reimplemented from TextParser.
|
virtual |
Reimplemented from TextParser.
|
virtual |
Reimplemented from TextParser.