Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

filereader.h

Go to the documentation of this file.
00001 #pragma once
00002 #ifndef filereader_h
00003 #define filereader_h
00004 
00005 #include <string>
00006 #include "..\PartB\yieldCurve.h"
00007 #include "..\PartF\creditCurve.h"
00008 #include "..\PartE\volsurface.h"
00009 
00010 using namespace std;
00011 
00012 class FileReader {
00013 public:
00014         static bool fileexists(const char *filename);
00015         static bool fileexists(string filename);
00016         static bool setdatadir(const char* command);
00017         static char *getdatadir(void) { return &_datadir[0]; };
00018         static string getdatadirasstring(void) { return string(_datadir); };
00019         static valarray<yieldPoint> *buildYieldPointArray(string filename);
00020         static valarray<CreditSpreadPoint> *buildCreditSpreadPointArray(string filename);
00021         static volsurfaceparams *buildVolSurfaceParams(string filename);
00022 protected:
00023         static char _datadir[128];
00024 };
00025 
00026 #endif

Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:36 2005 for terreneuve by doxygen 1.3.6