#include <bifstream.h>
Public Member Functions | |
bifstream () | |
bifstream (const char *name, ios::openmode mode=ios::in|ios::binary) | |
virtual | ~bifstream () |
void | seek (long spos, Offset offs) |
long | pos () |
bifstream::Byte | getByte () |
void | getRaw (char *c, streamsize n) |
Handles writing to an output file stream in binary format. It makes it possible to use the operator<< for binary output.
Definition at line 44 of file bifstream.h.
bifstream::bifstream | ( | ) | [inline] |
Definition at line 47 of file bifstream.h.
bifstream::bifstream | ( | const char * | name, | |
ios::openmode | mode = ios::in | ios::binary | |||
) | [inline, explicit] |
Definition at line 50 of file bifstream.h.
References binio::BigEndian, binio::FloatIEEE, and binio::setFlag().
virtual bifstream::~bifstream | ( | ) | [inline, virtual] |
Definition at line 60 of file bifstream.h.
void bifstream::seek | ( | long | spos, | |
Offset | offs | |||
) | [virtual] |
Implements binio.
Definition at line 35 of file bifstream.cc.
References binio::Add, binio::End, binio::err, binio::NotOpen, and binio::Set.
long bifstream::pos | ( | ) | [virtual] |
Implements binio.
Definition at line 46 of file bifstream.cc.
References binio::err, and binio::NotOpen.
bifstream::Byte bifstream::getByte | ( | ) | [virtual] |
Implements binistream.
Definition at line 52 of file bifstream.cc.
References binio::Eof, binio::err, and binio::NotOpen.
void bifstream::getRaw | ( | char * | c, | |
streamsize | n | |||
) | [inline, virtual] |