StringFile Class Reference

#include <stringfile.h>


Public Member Functions

 StringFile (long length=0)
 StringFile (char *filename)
virtual ~StringFile ()
int readline ()
int readline (char *arg2)
int readline (long *arg2)
int readline (int *arg2)
int readline (float *arg2)
int readline (Freq *arg2)
int readline (char *arg1, char *arg2)
int readline (char *arg1, long *arg2)
int readline (char *arg1, int *arg2)
int readline (char *arg1, float *arg2)
int writeline (char *arg1, int indent)
int writeline (char *arg1, char *arg2, int indent)
int writeline (char *arg1, long arg2, int indent)
int writeline (char *arg1, int arg2, int indent)
int writeline (char *arg1, float arg2, int indent)
int writeline (char *arg1, Freq arg2, int indent)
int backupline ()
long get_length ()
long get_pointer ()
int write_to_file (char *filename)
int read_from_string (char *string)

Data Fields

char * string
long pointer
long length
long available
char string1 [1024]


Detailed Description

Definition at line 9 of file stringfile.h.


Constructor & Destructor Documentation

StringFile::StringFile ( long  length = 0  ) 

Definition at line 6 of file stringfile.C.

References available, and pointer.

StringFile::StringFile ( char *  filename  ) 

Definition at line 21 of file stringfile.C.

References available, fclose(), fopen(), fread(), fseek(), ftell(), length, and pointer.

Here is the call graph for this function:

StringFile::~StringFile (  )  [virtual]

Definition at line 48 of file stringfile.C.

References string.


Member Function Documentation

int StringFile::readline (  ) 

Definition at line 98 of file stringfile.C.

References string1.

Referenced by BC_Hash::load_stringfile(), and readline().

int StringFile::readline ( char *  arg2  ) 

Definition at line 92 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( long *  arg2  ) 

Definition at line 116 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( int *  arg2  ) 

Definition at line 110 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( float *  arg2  ) 

Definition at line 104 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( Freq arg2  ) 

Definition at line 122 of file stringfile.C.

References Freq::freq, readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( char *  arg1,
char *  arg2 
)

Definition at line 128 of file stringfile.C.

References pointer.

int StringFile::readline ( char *  arg1,
long *  arg2 
)

Definition at line 174 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::readline ( char *  arg1,
int *  arg2 
)

Definition at line 181 of file stringfile.C.

References readline().

Here is the call graph for this function:

int StringFile::readline ( char *  arg1,
float *  arg2 
)

Definition at line 189 of file stringfile.C.

References readline(), and string1.

Here is the call graph for this function:

int StringFile::writeline ( char *  arg1,
int  indent 
)

Definition at line 196 of file stringfile.C.

References available, length, pointer, and string.

Referenced by BC_Hash::save_stringfile(), and writeline().

int StringFile::writeline ( char *  arg1,
char *  arg2,
int  indent 
)

Definition at line 217 of file stringfile.C.

References string1, and writeline().

Here is the call graph for this function:

int StringFile::writeline ( char *  arg1,
long  arg2,
int  indent 
)

Definition at line 226 of file stringfile.C.

References string1, and writeline().

Here is the call graph for this function:

int StringFile::writeline ( char *  arg1,
int  arg2,
int  indent 
)

Definition at line 233 of file stringfile.C.

References string1, and writeline().

Here is the call graph for this function:

int StringFile::writeline ( char *  arg1,
float  arg2,
int  indent 
)

Definition at line 240 of file stringfile.C.

References string1, and writeline().

Here is the call graph for this function:

int StringFile::writeline ( char *  arg1,
Freq  arg2,
int  indent 
)

Definition at line 247 of file stringfile.C.

References Freq::freq, string1, and writeline().

Here is the call graph for this function:

int StringFile::backupline (  ) 

Definition at line 157 of file stringfile.C.

References pointer.

long StringFile::get_length (  ) 

Definition at line 82 of file stringfile.C.

Referenced by BC_Hash::load_stringfile(), and BC_Hash::save_string().

long StringFile::get_pointer (  ) 

Definition at line 87 of file stringfile.C.

References pointer.

Referenced by BC_Hash::load_stringfile().

int StringFile::write_to_file ( char *  filename  ) 

Definition at line 53 of file stringfile.C.

References fclose(), fopen(), fwrite(), and pointer.

Referenced by BC_Hash::save().

Here is the call graph for this function:

int StringFile::read_from_string ( char *  string  ) 

Definition at line 69 of file stringfile.C.

References available, and length.

Referenced by BC_Hash::load_string().


Field Documentation

Definition at line 40 of file stringfile.h.

Referenced by BC_Hash::save_string(), writeline(), and ~StringFile().

Definition at line 41 of file stringfile.h.

Referenced by backupline(), get_pointer(), readline(), StringFile(), write_to_file(), and writeline().

Definition at line 41 of file stringfile.h.

Referenced by read_from_string(), StringFile(), and writeline().

Definition at line 41 of file stringfile.h.

Referenced by read_from_string(), StringFile(), and writeline().

char StringFile::string1[1024]

Definition at line 42 of file stringfile.h.

Referenced by readline(), and writeline().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:44:03 2008 for Cinelerra by  doxygen 1.5.5