QCIntgWriter.hpp

Go to the documentation of this file.
00001 //*****************************************************************************//
00002 //                                                                             //
00003 //   Copyright (c) 2001                                                        //
00004 //      INRIA                                                                  //
00005 //      54600 VILLERS LES NANCY                                                //
00006 //      France                                                                 //
00007 //                                                                             //
00008 //*****************************************************************************//
00009 //                                                                             //
00010 //               *** NOTICE OF PROPRIETARY INFORMATION ***                     //
00011 //                                                                             //
00012 // The information contained in this file is considered proprietary and the    //
00013 // exclusive property of  INRIA. This information may not be disclosed,        //
00014 // duplicated or used, in whole or in part, for  any purpose  whatsoever       //
00015 // without express written authorization from INRIA                            //
00016 //                                                                             //
00017 //*****************************************************************************//
00018 
00019 
00020 #ifndef QC_INTG_WRITER_H_
00021 #define QC_INTG_WRITER_H_
00022 
00023 
00024 
00025 #include <stdio.h>
00026 #include "QCCommon.hpp"
00027 
00028 
00029 
00035 class QCIntgWriter
00036 {
00037 
00039 public:
00040 
00041 
00045   QCIntgWriter (void);
00046 
00047 
00051   ~QCIntgWriter (void);
00055   void openFile (const string filename, const char * mode,  const string path = "");
00059   void closeFile (void);
00063   void storeIntegrals (const QCFloat *integrals, const size_t sizeofIntegral, const int& nbIntegrals) const {
00064     
00065     fwrite(integrals, sizeofIntegral, nbIntegrals, coutput);
00066   };
00067   
00068 
00069 
00071 protected:
00072 
00073 
00075 private:
00076 
00077 
00078 
00081 public:
00082 protected:
00083 private:
00084 
00088   string outputPath;
00092   string filename;
00096   FILE * coutput;
00097 };
00098 
00099 #endif // QC_INTG_WRITER_H_

Generated on Sat Jan 28 21:07:26 2006 for QC++ by  doxygen 1.4.4