19#ifndef SERPENTVOLUMECALCOUTPUTREADER_HXX
20#define SERPENTVOLUMECALCOUTPUTREADER_HXX
25#include "libValErr/ValErr.hxx"
49 ValErr_t
GetVolume(
const string &materialName);
50 void Clear()
override;
51 string Print()
override;
60 typedef map < string, ValErr_t *>
Table;
65 bool IsRead(
const string &block)
const;
Definition SerpentOutputReader.hxx:72
Define a reader class.
Definition SerpentVolumeCalcOutputReader.hxx:45
VolumeCalcOutputReader * GetNewInstance() override
get new instance (I think the method should be erased)
Definition SerpentVolumeCalcOutputReader.cxx:119
static const unsigned ERROR_INDEX
Definition SerpentVolumeCalcOutputReader.hxx:59
map< string, ValErr_t * > Table
Definition SerpentVolumeCalcOutputReader.hxx:60
bool IsRead(const string &block) const
is file already read
Definition SerpentVolumeCalcOutputReader.cxx:94
void ParseBlock(const string &block) override
parse block
Definition SerpentVolumeCalcOutputReader.cxx:56
static const string SKIPPED_PHRASE
Definition SerpentVolumeCalcOutputReader.hxx:57
static const unsigned VALUE_INDEX
Definition SerpentVolumeCalcOutputReader.hxx:58
static const char RIGHT_BRACKET
Definition SerpentVolumeCalcOutputReader.hxx:56
Table * fData
Definition SerpentVolumeCalcOutputReader.hxx:61
VolumeCalcOutputReader()
constructor
Definition SerpentVolumeCalcOutputReader.cxx:31
~VolumeCalcOutputReader() override
deconstructor
Definition SerpentVolumeCalcOutputReader.cxx:39
string Print() override
Printing method used for debugging.
Definition SerpentVolumeCalcOutputReader.cxx:109
static const char LEFT_BRACKET
Definition SerpentVolumeCalcOutputReader.hxx:55
ValErr_t GetVolume(const string &materialName)
return volume for given material
Definition SerpentVolumeCalcOutputReader.cxx:101
void Clear() override
clear data
Definition SerpentVolumeCalcOutputReader.cxx:50
the namespace use to couple MURE and Serpent