#include <filereader.h>
Static Public Member Functions | |
| bool | fileexists (const char *filename) | 
| test for file existence   | |
| bool | fileexists (string filename) | 
| test for file existence - string version   | |
| bool | setdatadir (const char *command) | 
| char * | getdatadir (void) | 
| string | getdatadirasstring (void) | 
| valarray< yieldPoint > * | buildYieldPointArray (string filename) | 
| Read data from a file to create an array of yield points which can be used to construct a yield curve object.   | |
| valarray< CreditSpreadPoint > * | buildCreditSpreadPointArray (string filename) | 
| Read data from a file to create an array of credit spread points which can be used to construct a credit curve object.   | |
| volsurfaceparams * | buildVolSurfaceParams (string filename) | 
| Read data from a file to create an array of strikes and maturities which can be used to construct a vol surface object.   | |
Static Protected Attributes | |
| char | _datadir [128] = "" | 
      
  | 
  
| 
 Read data from a file to create an array of credit spread points which can be used to construct a credit curve object. 
 
 
 Definition at line 132 of file filereader.cpp. References CC_MAX_NUM_SPREADS, CreditSpreadType, fileexists(), and Natural. Referenced by importData::importCreditCurve(), and maincreditcurve().  | 
  
      
  | 
  
| 
 Read data from a file to create an array of strikes and maturities which can be used to construct a vol surface object. 
 
 
 Definition at line 185 of file filereader.cpp. References volsurfaceparams::callputprices, fileexists(), volsurfaceparams::iscallputprices, volsurfaceparams::maturities, Natural, and volsurfaceparams::strikes. Referenced by importData::importVolSurface(), and mainvolsurface().  | 
  
      
  | 
  
| 
 Read data from a file to create an array of yield points which can be used to construct a yield curve object. 
 
 
 Definition at line 79 of file filereader.cpp. References fileexists(), Natural, TypeOfRate, and YC_MAX_NUMBER_POINTS. Referenced by importData::importYieldCurve(), mainasset(), maincreditcurve(), mainIRVanillaSwap(), and mainyieldcurve().  | 
  
      
  | 
  
| 
 test for file existence - string version 
 
 
 Definition at line 27 of file filereader.cpp. References fileexists().  | 
  
      
  | 
  
| 
 test for file existence 
 
 
 Definition at line 12 of file filereader.cpp. Referenced by buildCreditSpreadPointArray(), buildVolSurfaceParams(), buildYieldPointArray(), fileexists(), fr_basic(), importData::runUserDefinedInterface(), and setdatadir().  | 
  
      
  | 
  
| 
 
 Definition at line 17 of file filereader.h. References _datadir.  | 
  
      
  | 
  
| 
 
 Definition at line 18 of file filereader.h. References _datadir. Referenced by fr_basic(), mainasset(), maincreditcurve(), mainIRVanillaSwap(), mainyieldcurve(), importData::runInterface(), and importData::runUserDefinedInterface().  | 
  
      
  | 
  
| 
 
 Definition at line 31 of file filereader.cpp. References _datadir, and fileexists(). Referenced by importData::importData(), and maintests().  | 
  
      
  | 
  
| 
 
 Definition at line 6 of file filereader.cpp. Referenced by getdatadir(), getdatadirasstring(), and setdatadir().  | 
  
 1.3.6