19#ifndef SERPENTOUTPUTREADER_HXX
20#define SERPENTOUTPUTREADER_HXX
21#include <libValErr/ValErr.hxx>
76 virtual void Read(
const string &fileName);
80 virtual void Write(
const string &fileName);
91 bool IsWhite(
const string &line)
const;
Header file for vector operation, Regression and FindFitParameters functions.
Definition SerpentOutputReader.hxx:72
virtual void Read(const string &fileName)
Definition SerpentOutputReader.cxx:117
void AllowRowsByDefault()
sets default perrmision to read rows to true
Definition SerpentOutputReader.cxx:99
map< string, bool > Permitions
Definition SerpentOutputReader.hxx:84
OutputReader()
constructor
Definition SerpentOutputReader.cxx:29
void SetSeparator(char separator)
sets separator
Definition SerpentOutputReader.cxx:57
virtual ~OutputReader()
destructor
Definition SerpentOutputReader.cxx:36
char GetSeparator() const
resturns sepeparator (white space or semiclon)
Definition SerpentOutputReader.cxx:51
virtual void ParseBlock(const string &block)=0
static const char COMMENT_CHAR
Definition SerpentOutputReader.hxx:90
bool isFileRead() const
returns if file was read
Definition SerpentOutputReader.cxx:111
bool fDefaultPermission
Definition SerpentOutputReader.hxx:86
Permitions fPermissions
Definition SerpentOutputReader.hxx:85
void ForbiddRowsByDefault()
sets default perrmision to read rows to false
Definition SerpentOutputReader.cxx:105
bool HasPermision(const string &rowName) const
returns true if row name(heading) is added to allowe rows
Definition SerpentOutputReader.cxx:77
bool fFileReadSuccessfully
Definition SerpentOutputReader.hxx:87
bool IsWhite(const string &line) const
resturns true if line conststs of only white spaces
Definition SerpentOutputReader.cxx:42
vector< string > GetPermittedRowNames() const
gets all rows which can be read
Definition SerpentOutputReader.cxx:63
virtual void Write(const string &fileName)
writes data using Print method into new result file (for multi-run)
Definition SerpentOutputReader.cxx:130
void AddForbiddenRow(const string &rowName)
adds row head to rows which are NOT allowed to be read
Definition SerpentOutputReader.cxx:93
char fSeparator
Definition SerpentOutputReader.hxx:83
void AddAllowedRow(const string &rowName)
adds row head to rows which are allowed to be read
Definition SerpentOutputReader.cxx:87
virtual OutputReader * GetNewInstance()=0
the namespace use to couple MURE and Serpent
the namespace of the Standard C++