42 this->seekp(spos, ios::beg);
45 this->seekp(spos, ios::cur);
58 return streamoff(this->tellp());
64 throw runtime_error(
"Cannot open binary file for writing");
71 throw runtime_error(
"Writing to binary file failed");
void seek(long spos, Offset offs) override final
This file contains the class declaration of bofstream.
bofstream & operator<<(bofstream &bof, double n)
void writeFloat(Float f, FType ft)
void writeInt(Int val, unsigned int size)
Binary output file stream class.
void putByte(bofstream::Byte b) override final
constexpr Rational end(Rational Ju, Rational Jl, Polarization type) noexcept
Gives the largest M for a polarization type of this transition.
streampos pos() override final