Main Page | Data Structures | Directories | File List | Globals

mqtextfile.h

Go to the documentation of this file.
00001 #ifndef _MQTEXT_FILE_H_
00002 #define _MQTEXT_FILE_H_
00003 
00004 /* Copyright (c) Kyriacos Leptos and the President and Fellows of Harvard University
00005    Release Date: 2006-01-02
00006    Part of the MapQuant suite library "mqbasic.lib" 
00007 */
00008 
00022 struct MQTextFile
00023 {
00024     unsigned isTemp: 1;
00025 
00026     char*  name;
00027     char*  full_filename;
00028     char*  szTitle;
00029 
00030     char** lines;
00031     int    nlines;
00032     
00033     FILE*  file;
00034     char*  buffer;
00035 };
00036 
00037 typedef struct MQTextFile MQTextFile;
00038 
00041 void MQTextFile_init            (MQTextFile* ps);
00042 
00045 void MQTextFile_fprint          (FILE* fp, MQTextFile* PScript);
00046 
00049 void MQTextFile_fprintAsHeader  (FILE* fp, MQTextFile* procscript);
00050 
00053 void MQTextFile_flush           (MQTextFile* ps);
00054 
00057 void MQTextFile_copy            (MQTextFile* ps_dest, MQTextFile* ps_src);
00058 
00061 int  MQTextFile_getFilehandle   (MQTextFile* PScript);
00062 
00065 int  MQTextFile_load            (MQTextFile* PScript);
00066 
00067 
00068 #endif
00069 
00070 

Generated on Tue Feb 7 03:25:43 2006 for libmqbasic by  doxygen 1.4.4