00001 #ifndef _CSVFORMAT_INCLUDED_ 00002 #define _CSVFORMAT_INCLUDED_ 00003 #include "TimeSeries.h" 00004 00005 namespace gplib 00006 { 00007 class MtuFormat; 00008 00009 /** \addtogroup mttools MT data analysis, processing and inversion */ 00010 /* @{ */ 00011 00012 //! This class reads and writes data from Comma Separated Files CSV as produced by Excel etc. this particular flavour 00013 // aims at files produced by phoenix software 00014 class CsvFormat: public TimeSeries 00015 { 00016 public: 00017 CsvFormat(); 00018 virtual ~CsvFormat(); 00019 virtual void GetData(); 00020 virtual void GetData(const std::string filename); 00021 virtual void WriteData(const std::string filename); 00022 CsvFormat& operator=(CsvFormat& source); 00023 CsvFormat& operator=(MtuFormat& source); 00024 CsvFormat& operator=(TimeSeries& source); 00025 }; 00026 /* @} */ 00027 } 00028 #endif
1.5.8