changed msr-file handling so that comments do not get lost anymore

This commit is contained in:
nemu
2008-04-09 06:10:18 +00:00
parent bf0caa77e8
commit 47935d356a
2 changed files with 94 additions and 12 deletions

View File

@ -85,7 +85,8 @@ class PMsrHandler
virtual bool CheckUniquenessOfParamNames(unsigned int &parX, unsigned int &parY);
private:
TString fFileName;
PMsrLines fComments; ///< holds the comments of the msr-file
TString fFileName; ///< file name of the msr-file
TString fTitle; ///< holds the title string of the msr-file
PMsrParamList fParam; ///< holds a list of the fit parameters
PMsrLines fTheory; ///< holds the theory definition
@ -109,6 +110,8 @@ class PMsrHandler
virtual bool HandlePlotEntry(PMsrLines &line);
virtual bool HandleStatisticEntry(PMsrLines &line);
virtual void CheckAndWriteComment(ofstream &f, int &lineNo);
virtual void FillParameterInUse(PMsrLines &theory, PMsrLines &funcs, PMsrLines &run);
virtual void InitRunParameterStructure(PMsrRunStructure &param);