5 // Line based reading and writing from text files or arrays.
6 // Use for extracting databases.
12 StringFile(long length
= 0);
13 StringFile(char *filename
);
14 virtual ~StringFile();
16 int readline(); // read next line from string
17 int readline(char *arg2
); // read next line from string
18 int readline(long *arg2
); // read next line from string
19 int readline(int *arg2
); // read next line from string
20 int readline(float *arg2
); // read next line from string
21 int readline(Freq
*arg2
); // read next line from string
23 int readline(char *arg1
, char *arg2
); // read next line from string
24 int readline(char *arg1
, long *arg2
); // read next line from string
25 int readline(char *arg1
, int *arg2
); // read next line from string
26 int readline(char *arg1
, float *arg2
); // read next line from string
27 int writeline(char *arg1
, int indent
); // write next line to string
28 int writeline(char *arg1
, char *arg2
, int indent
); // write next line to string
29 int writeline(char *arg1
, long arg2
, int indent
); // write next line to string
30 int writeline(char *arg1
, int arg2
, int indent
); // write next line to string
31 int writeline(char *arg1
, float arg2
, int indent
); // write next line to string
32 int writeline(char *arg1
, Freq arg2
, int indent
); // write next line to string
33 int backupline(); // move back one line
37 int write_to_file(char *filename
);
38 int read_from_string(char *string
);
41 long pointer
, length
, available
;
42 char string1
[1024]; // general purpose strings