30 #ifndef BIFSTREAM_H_INCLUDED 31 #define BIFSTREAM_H_INCLUDED 47 ios::openmode mode = ios::in | ios::binary)
48 : ifstream(name, mode) {
55 void seek(
long spos,
Offset offs)
override final;
56 streampos
pos()
override final;
59 void getRaw(
char* c, streamsize
n)
override final { this->
read(c,
n); }
void read(HitranRelaxationMatrixData &hitran, ArrayOfAbsorptionLines &bands, const String &basedir, const Numeric linemixinglimit, const Numeric fmin, const Numeric fmax, const Numeric stot, const ModeOfLineMixing mode)
Read from HITRAN online line mixing file.
bifstream & operator>>(bifstream &bif, double &n)
streampos pos() override final
void getRaw(char *c, streamsize n) override final
Binary output file stream class.
bifstream::Byte getByte() override final
void seek(long spos, Offset offs) override final
void setFlag(Flag f, bool set=true)
bifstream(const char *name, ios::openmode mode=ios::in|ios::binary)