Origen::detail Namespace Reference

Classes

struct  Header
 
class  RRNuclide
 
class  RRXs
 

Functions

void setupEndianness (ScaleUtils::IO::IStreamManipulator_FBin &binsman, ScaleUtils::IO::DB &opts)
 
template<typename T >
void readGeneral (ScaleUtils::IO::IStreamManipulator_FBin &binsman, std::string name, T &vec, bool has_header, bool has_length, bool use_size)
 
template<typename T >
void writeGeneral (std::ostream &stream, std::string name, const T &vec, bool has_header, bool has_length)
 
void read (ScaleUtils::IO::IStreamManipulator_FBin &binsman, std::string name,::Origen::Vec_Flt &fvec, bool has_header)
 read float vector with size already set More...
 
void read (ScaleUtils::IO::IStreamManipulator_FBin &binsman, std::string name,::Origen::Vec_Int &ivec, bool has_header)
 read int vector with size already set More...
 
void write (std::ostream &stream, std::string name, const ::Origen::Vec_Flt &fvec, bool has_header)
 write float vector without vector size More...
 
void write (std::ostream &stream, std::string name, const ::Origen::Vec_Int &ivec, bool has_header)
 write int vector without vector size More...
 
void readScale61 (ScaleUtils::IO::IStreamManipulator_FBin &binsman, std::string name,::Origen::Vec_Int &ivec, bool has_header)
 
void readScale61 (ScaleUtils::IO::IStreamManipulator_FBin &binsman, std::string name,::Origen::Vec_Flt &fvec, bool has_header)
 
void writeScale61 (std::ostream &stream, std::string name, const ::Origen::Vec_Int &ivec, bool has_header)
 write int vector with length More...
 
void writeScale61 (std::ostream &stream, std::string name, const ::Origen::Vec_Flt &fvec, bool has_header)
 write float vector with length More...
 
void writeScale61Title (std::ostream &stream, std::string title)
 
void writeScale61EmptyRecords (std::ostream &stream, std::string name, int num)
 

Function Documentation

void setupEndianness ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
ScaleUtils::IO::DB &  opts 
)
void Origen::detail::readGeneral ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
std::string  name,
T vec,
bool  has_header,
bool  has_length,
bool  use_size 
)
inline

Referenced by read(), and readScale61().

void Origen::detail::writeGeneral ( std::ostream &  stream,
std::string  name,
const T vec,
bool  has_header,
bool  has_length 
)
inline

Referenced by write(), and writeScale61().

void read ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
std::string  name,
::Origen::Vec_Flt fvec,
bool  has_header 
)

read float vector with size already set

References readGeneral().

Referenced by LibraryIO_s62b::read(), and StateSetIO_s61::read().

void read ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
std::string  name,
::Origen::Vec_Int ivec,
bool  has_header 
)

read int vector with size already set

References readGeneral().

void write ( std::ostream &  stream,
std::string  name,
const ::Origen::Vec_Flt fvec,
bool  has_header 
)

write float vector without vector size

References writeGeneral().

void write ( std::ostream &  stream,
std::string  name,
const ::Origen::Vec_Int ivec,
bool  has_header 
)

write int vector without vector size

References writeGeneral().

void readScale61 ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
std::string  name,
::Origen::Vec_Int ivec,
bool  has_header 
)

read int vector with size already set, but still reading int dummy (maybe supposed to be vector length but not always the case)

References readGeneral().

Referenced by LibraryIO_s61::read().

void readScale61 ( ScaleUtils::IO::IStreamManipulator_FBin &  binsman,
std::string  name,
::Origen::Vec_Flt fvec,
bool  has_header 
)

read float vector with size already set, but still reading int dummy (maybe supposed to be vector length but not always the case)

References readGeneral().

void writeScale61 ( std::ostream &  stream,
std::string  name,
const ::Origen::Vec_Int ivec,
bool  has_header 
)

write int vector with length

References writeGeneral().

Referenced by LibraryIO_s61::write(), and writeScale61EmptyRecords().

void writeScale61 ( std::ostream &  stream,
std::string  name,
const ::Origen::Vec_Flt fvec,
bool  has_header 
)

write float vector with length

References writeGeneral().

void writeScale61Title ( std::ostream &  stream,
std::string  title 
)
void writeScale61EmptyRecords ( std::ostream &  stream,
std::string  name,
int  num 
)

References writeScale61().

Referenced by LibraryIO_s61::write().