#include <SerpentResultOutputReader.hxx>
|
void | ParseBlock (const string &block) override |
| parses block
|
|
Table * | GetData () |
| returns all data - for copy
|
|
bool | IsWhite (const string &line) const |
| resturns true if line conststs of only white spaces
|
|
char | GetSeparator () const |
| resturns sepeparator (white space or semiclon)
|
|
bool | HasPermision (const string &rowName) const |
| returns true if row name(heading) is added to allowe rows
|
|
void | AddAllowedRow (const string &rowName) |
| adds row head to rows which are allowed to be read
|
|
void | AddForbiddenRow (const string &rowName) |
| adds row head to rows which are NOT allowed to be read
|
|
void | AllowRowsByDefault () |
| sets default perrmision to read rows to true
|
|
void | ForbiddRowsByDefault () |
| sets default perrmision to read rows to false
|
|
void | SetSeparator (char separator) |
| sets separator
|
|
virtual void | ParseBlock (const string &block)=0 |
|
vector< string > | GetPermittedRowNames () const |
| gets all rows which can be read
|
|
|
typedef vector< double > | Row |
|
typedef vector< pair< string, Row * > > | Table |
|
Define a reader class.
- Author
- J.Hajnrych
- Version
- 1.0
◆ Row
◆ Table
◆ ResultOutputReader()
Serpent::ResultOutputReader::ResultOutputReader |
( |
| ) |
|
◆ ~ResultOutputReader()
Serpent::ResultOutputReader::~ResultOutputReader |
( |
| ) |
|
|
override |
◆ Clear()
void Serpent::ResultOutputReader::Clear |
( |
| ) |
|
|
overridevirtual |
◆ GetData()
returns all data - for copy
◆ GetKeff()
ValErr_t Serpent::ResultOutputReader::GetKeff |
( |
| ) |
const |
calculates and returns keff
◆ GetMultiRunData()
calculates equivalent table for multi run
◆ GetNewInstance()
◆ GetRow()
◆ ParseBlock()
void Serpent::ResultOutputReader::ParseBlock |
( |
const string & |
block | ) |
|
|
overrideprotectedvirtual |
◆ ParseLine()
void Serpent::ResultOutputReader::ParseLine |
( |
const string & |
line | ) |
|
|
private |
◆ Print()
string Serpent::ResultOutputReader::Print |
( |
| ) |
|
|
overridevirtual |
◆ Read() [1/2]
void Serpent::ResultOutputReader::Read |
( |
const string & |
fileName | ) |
|
|
overridevirtual |
◆ Read() [2/2]
void Serpent::ResultOutputReader::Read |
( |
const vector< string > & |
fileNames | ) |
|
read multiple files (for multi-run)
◆ COMMENT_SIGN
const char Serpent::ResultOutputReader::COMMENT_SIGN = '%' |
|
staticprivate |
◆ fData
Table* Serpent::ResultOutputReader::fData |
|
private |
◆ STD_INDEX
const unsigned Serpent::ResultOutputReader::STD_INDEX = 1 |
|
staticprivate |
◆ VALUE_INDEX
const unsigned Serpent::ResultOutputReader::VALUE_INDEX = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: