bifstream Class Reference

Binary output file stream class. More...

#include <bifstream.h>

Inheritance diagram for bifstream:

Inheritance graph
[legend]
Collaboration diagram for bifstream:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Binary output file stream class.

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Implements binistream.

Definition at line 65 of file bifstream.h.


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

Generated on Mon Mar 23 14:06:57 2009 for ARTS by  doxygen 1.5.6