33 void setFilename(
const string&
filename );
35 void setStream( istream&
stream );
38 void setRecordSeparator(
const string& separator );
39 void setFieldSeparators(
const string& separators );
40 void setQuoteChars(
const string& quoteChars );
41 void setEscapeChars(
const string& escapeChars );
42 void setSeparatorData(
const string& recordSeparator,
const string& fieldSeparators =
",",
43 const string& quoteChars =
"\"",
const string& escapeChars =
"\\" );
46 void setTrimWhitespace(
bool bTrim );
48 void setAddEmptyTokens(
bool bAdd );
51 void setSkipNextRecord(
bool bSkip );
56 bool nextRecord( vector<string>& record );
60 virtual bool isEndOfRecord(
const string& str );
64 void readRecord(
string& record );
string myRecordSeparator
Definition: tokenizer.h:66
bool mySkipNextRecord
Definition: tokenizer.h:73
ifstream myFileStream
Definition: tokenizer.h:75
string myQuoteChars
Definition: tokenizer.h:68
bool myAddEmptyTokens
Definition: tokenizer.h:72
A generic tokenizer class that can be used to read in a stream of data and parse it into tokens...
Definition: tokenizer.h:26
istream * pMyStream
Definition: tokenizer.h:76
voidpf stream
Definition: ioapi.h:39
bool myTrimWhitespace
Definition: tokenizer.h:71
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
string myEscapeChars
Definition: tokenizer.h:69
string myFieldSeparators
Definition: tokenizer.h:67