#include <STab1Reader.h>
simplified Tab1 reader More...
Public Member Functions | |
| std::string | read (std::istream &is) |
| read it More... | |
| STab1Reader () | |
| construct it More... | |
Public Attributes | |
| SP_STab1 | stab1 |
| data that was read in More... | |
Static Protected Member Functions | |
| static void | getline (std::istream &is, std::string *buffer) |
| put a line into buffer More... | |
| static double | getRealValue (const std::string &line, int index) |
| get the index of 6 values as a double on line More... | |
| static int | getIntValue (const std::string &line, int index) |
| get the index of 6 values as an integer on line More... | |
| static void | getLineValues_2Real_4Int (const std::string &line, double &f1, double &f2, int &i1, int &i2, int &i3, int &i4) |
| get 2 floats and 4 ints a line More... | |
| static void | getLineValues_6Real (const std::string &line, double &f1, double &f2, double &f3, double &f4, double &f5, double &f6) |
| get 6 floats on a line More... | |
| static bool | isTerminatorLine (const std::string &line) |
| check if a line is a terminator (all zeros) More... | |
| static std::string | readTitle (std::istream &is, std::string *title) |
| rad the one line title More... | |
| static std::string | readData (std::istream &is, STab1::Data *data) |
| read a data set More... | |
| static std::string | readBlock (std::istream &is, STab1::Block *block) |
| read a data block (contains 1 or more data sets) More... | |
| static std::string | readFile (std::istream &is, STab1 *stab1) |
| read the simplified tab1 data More... | |
Detailed Description
simplified Tab1 reader
Constructor & Destructor Documentation
|
inline |
construct it
Member Function Documentation
| std::string read | ( | std::istream & | is | ) |
read it
References STab1Reader::readFile(), and STab1Reader::stab1.
Referenced by YieldResourceIO_stab1::read().
|
staticprotected |
put a line into buffer
Referenced by STab1Reader::readBlock(), STab1Reader::readData(), STab1Reader::readFile(), and STab1Reader::readTitle().
|
staticprotected |
get the index of 6 values as a double on line
References Origen::BAD_DOUBLE, and STab1::ENDF_FIELD_LENGTH.
Referenced by STab1Reader::getLineValues_2Real_4Int(), STab1Reader::getLineValues_6Real(), and STab1Reader::readData().
|
staticprotected |
get the index of 6 values as an integer on line
References Origen::BAD_INT, and STab1::ENDF_FIELD_LENGTH.
Referenced by STab1Reader::getLineValues_2Real_4Int().
|
staticprotected |
get 2 floats and 4 ints a line
References STab1Reader::getIntValue(), and STab1Reader::getRealValue().
Referenced by STab1Reader::isTerminatorLine().
|
staticprotected |
get 6 floats on a line
References STab1Reader::getRealValue().
|
staticprotected |
check if a line is a terminator (all zeros)
References STab1Reader::getLineValues_2Real_4Int().
Referenced by STab1Reader::readBlock(), STab1Reader::readData(), and STab1Reader::readFile().
|
staticprotected |
|
staticprotected |
read a data set
References STab1::Data::cr, STab1Reader::getline(), STab1Reader::getRealValue(), STab1::Data::id, STab1Reader::isTerminatorLine(), and STab1::Data::val.
Referenced by STab1Reader::readBlock().
|
staticprotected |
read a data block (contains 1 or more data sets)
References STab1::Block::cr, STab1Reader::getline(), STab1Reader::isTerminatorLine(), STab1Reader::readData(), and STab1::Block::set.
Referenced by STab1Reader::readFile().
|
staticprotected |
read the simplified tab1 data
References STab1::block, STab1Reader::getline(), STab1Reader::isTerminatorLine(), STab1Reader::readBlock(), STab1Reader::readTitle(), and STab1::title.
Referenced by STab1Reader::read().
Member Data Documentation
| SP_STab1 stab1 |
data that was read in
Referenced by YieldResourceIO_stab1::read(), and STab1Reader::read().
The documentation for this class was generated from the following files:
- Core/io/STab1Reader.h
- Core/io/STab1Reader.cpp

1.8.10