Define a reader class.
More...
#include <SerpentVolumeCalcOutputReader.hxx>
|
| bool | IsRead (const string &block) const |
| | is file already read
|
| |
| void | ParseBlock (const string &block) override |
| | parse block
|
| |
| 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 map< string, ValErr_t * > | Table |
| |
Define a reader class.
- Author
- J.Hajnrych
- Version
- 1.0
◆ Table
◆ VolumeCalcOutputReader()
| Serpent::VolumeCalcOutputReader::VolumeCalcOutputReader |
( |
| ) |
|
◆ ~VolumeCalcOutputReader()
| Serpent::VolumeCalcOutputReader::~VolumeCalcOutputReader |
( |
| ) |
|
|
override |
◆ Clear()
| void Serpent::VolumeCalcOutputReader::Clear |
( |
| ) |
|
|
overridevirtual |
◆ GetNewInstance()
◆ GetVolume()
| ValErr_t Serpent::VolumeCalcOutputReader::GetVolume |
( |
const string & |
materialName | ) |
|
return volume for given material
◆ IsRead()
| bool Serpent::VolumeCalcOutputReader::IsRead |
( |
const string & |
block | ) |
const |
|
protected |
◆ ParseBlock()
| void Serpent::VolumeCalcOutputReader::ParseBlock |
( |
const string & |
block | ) |
|
|
overrideprotectedvirtual |
◆ Print()
| string Serpent::VolumeCalcOutputReader::Print |
( |
| ) |
|
|
overridevirtual |
◆ ERROR_INDEX
| const unsigned Serpent::VolumeCalcOutputReader::ERROR_INDEX = 4 |
|
staticprivate |
◆ fData
| Table* Serpent::VolumeCalcOutputReader::fData |
|
private |
◆ LEFT_BRACKET
| const char Serpent::VolumeCalcOutputReader::LEFT_BRACKET = '(' |
|
staticprivate |
◆ RIGHT_BRACKET
| const char Serpent::VolumeCalcOutputReader::RIGHT_BRACKET = ')' |
|
staticprivate |
◆ SKIPPED_PHRASE
| const string Serpent::VolumeCalcOutputReader::SKIPPED_PHRASE = string("set mv") |
|
staticprivate |
◆ VALUE_INDEX
| const unsigned Serpent::VolumeCalcOutputReader::VALUE_INDEX = 2 |
|
staticprivate |
The documentation for this class was generated from the following files: