My Project
SimpleIOVectorToTextFile.hh
00001 #ifndef SIMPLEIOVECTORTOTEXTFILE
00002 #define SIMPLEIOVECTORTOTEXTFILE
00003 
00004 #include <iomanip>
00005 #include "Header.hh"
00006 #include "HeaderBase.hh"
00007 #include "StringTools.hh"
00009 // SimpleIOVectorToTextFile
00012 
00017 class SimpleIOVectorToTextFile
00018 {
00019 private:
00020   int flag_target;     
00022   vector<Double> Avec; 
00023   vector<Double> Xvec; 
00024   vector<Double> Yvec; 
00025   vector<Double> Evec; 
00026   HeaderBase HB;       
00027   StringTools *ST;     
00028   Int4 DefNumOfFigures;  
00030 public:
00031   SimpleIOVectorToTextFile();
00033 
00035   ~SimpleIOVectorToTextFile();
00037 
00039   void SetTarget( HeaderBase hh, vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00041 
00048   void SetTarget( vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00050 
00056   void SetTarget( vector<Double> avec, vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00058 
00065   void SetTarget( HeaderBase hh, vector<Double> avec, vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00067 
00075   void SetTarget( Double a, vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00077 
00084   void SetTarget( HeaderBase hh, Double a, vector<Double> xvec, vector<Double> yvec, vector<Double> evec );
00086 
00095   void SaveFile( string _filename );
00096   void SaveFile( string _filename, Int4 _prec );
00097   void SaveFile( string _filename, Char _deli );
00098   void SaveFile( string _filename, Int4 _prec, Char _deli );
00100 
00106   void LoadFile( string _filename );
00108 
00112   vector<Double> PutX(){ return Xvec; }
00114 
00117   vector<Double> PutY(){ return Yvec; }
00119 
00122   vector<Double> PutE(){ return Evec; }
00124 
00128 };
00129 #endif
 All Classes Functions Variables Friends