Inheritance diagram for STab1Writer:
STab1Writer

Public Member Functions

std::string write (std::ostream &os)
 write it More...
 

Static Public Member Functions

static std::string as_string (double value)
 

Public Attributes

SP_STab1 stab1
 data that was write in More...
 

Static Protected Member Functions

static void setRealValue (std::string *line, double value, int index)
 set the index of 6 values as a double on line More...
 
static void setIntValue (std::string *line, int value, int index)
 set the index of 6 values as an integer on line More...
 
static void setLineValues_2Real_4Int (std::string *line, double f1, double f2, int i1, int i2, int i3, int i4)
 set 2 floats and 4 ints a line More...
 
static void setLineValues_6Real (std::string *line, double f1, double f2, double f3, double f4, double f5, double f6)
 set 6 floats on a line More...
 
static void writeTerminatorLine (std::ostream &os)
 write a terminator to a string More...
 
static std::string writeTitle (std::ostream &os, const std::string &title)
 write the one line title More...
 
static std::string writeData (std::ostream &os, const STab1::Data &data)
 write a data set More...
 
static std::string writeBlock (std::ostream &os, const STab1::Block &block)
 write a data block (contains 1 or more data sets) More...
 
static std::string writeFile (std::ostream &os, const STab1 &stab1)
 write the simplified tab1 data More...
 

Member Function Documentation

static std::string as_string ( double  value)
inlinestatic
std::string write ( std::ostream &  os)
inherited
void setRealValue ( std::string *  line,
double  value,
int  index 
)
staticprotectedinherited
void setIntValue ( std::string *  line,
int  value,
int  index 
)
staticprotectedinherited

set the index of 6 values as an integer on line

References STab1::ENDF_FIELD_LENGTH.

Referenced by STab1Writer::setLineValues_2Real_4Int().

void setLineValues_2Real_4Int ( std::string *  line,
double  f1,
double  f2,
int  i1,
int  i2,
int  i3,
int  i4 
)
staticprotectedinherited

set 2 floats and 4 ints a line

References STab1Writer::setIntValue(), and STab1Writer::setRealValue().

Referenced by STab1Writer::writeTerminatorLine().

void setLineValues_6Real ( std::string *  line,
double  f1,
double  f2,
double  f3,
double  f4,
double  f5,
double  f6 
)
staticprotectedinherited

set 6 floats on a line

References STab1Writer::setRealValue().

void writeTerminatorLine ( std::ostream &  os)
staticprotectedinherited
std::string writeTitle ( std::ostream &  os,
const std::string &  title 
)
staticprotectedinherited

write the one line title

Referenced by STab1Writer::writeFile().

std::string writeData ( std::ostream &  os,
const STab1::Data data 
)
staticprotectedinherited
std::string writeBlock ( std::ostream &  os,
const STab1::Block block 
)
staticprotectedinherited

write a data block (contains 1 or more data sets)

References STab1::Block::cr, STab1::Block::set, STab1Writer::writeData(), and STab1Writer::writeTerminatorLine().

Referenced by STab1Writer::writeFile().

std::string writeFile ( std::ostream &  os,
const STab1 stab1 
)
staticprotectedinherited

Member Data Documentation

SP_STab1 stab1
inherited

data that was write in

Referenced by YieldResourceIO_stab1::write(), and STab1Writer::write().


The documentation for this class was generated from the following file: