Go to the documentation of this file.
20 #define MAXBUF 256*256
53 csv_name =
new char[strlen(csvName)+1];
58 for(
int i=0; i<10; i++)
62 if(
fin == NULL)
break;
68 if(
debug) printf(
"too old=%s",buf);
72 if(
debug) printf(
"too new=%s",buf);
77 if(
debug) printf(
"pushLineToMemory=%s",buf);
90 if(
fin != NULL) fclose(
fin);
100 if(last_line != NULL)
102 delete [] last_line->
line;
118 for(
int i=0; i<10; i++)
199 csv_name =
new char[strlen(csvName)+1];
204 for(
int i=0; i<10; i++)
207 if(
fin == NULL)
break;
210 fprintf(fout,
"%s",buf);
220 #ifdef TESTING_HISTORYREADER1
232 reader.
read(
"test", &start, &end);
237 printf(
"read=%s",cptr);
245 #ifdef TESTING_HISTORYREADER2
250 reader.
cat(
"test", stdout);