bofstream Class Reference

Binary output file stream class. More...

#include <bofstream.h>

Inheritance diagram for bofstream:

Inheritance graph
[legend]
Collaboration diagram for bofstream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 bofstream ()
 bofstream (const char *name, ios::openmode mode=ios::out|ios::trunc|ios::binary)
virtual ~bofstream ()
void seek (long spos, Offset offs)
long pos ()
void putByte (bofstream::Byte b)
void putRaw (const 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 bofstream.h.


Constructor & Destructor Documentation

bofstream::bofstream (  )  [inline]

Definition at line 47 of file bofstream.h.

bofstream::bofstream ( const char *  name,
ios::openmode  mode = ios::out | ios::trunc | ios::binary 
) [inline, explicit]

Definition at line 50 of file bofstream.h.

References binio::BigEndian, binio::FloatIEEE, and binio::setFlag().

virtual bofstream::~bofstream (  )  [inline, virtual]

Definition at line 59 of file bofstream.h.


Member Function Documentation

void bofstream::seek ( long  spos,
Offset  offs 
) [virtual]

Implements binio.

Definition at line 35 of file bofstream.cc.

References binio::Add, binio::End, binio::err, binio::NotOpen, and binio::Set.

long bofstream::pos (  )  [virtual]

Implements binio.

Definition at line 46 of file bofstream.cc.

References binio::err, and binio::NotOpen.

void bofstream::putByte ( bofstream::Byte  b  ) 

Definition at line 52 of file bofstream.cc.

References binio::err, binio::Fatal, and binio::NotOpen.

void bofstream::putRaw ( const char *  c,
streamsize  n 
) [inline, virtual]

Implements binostream.

Definition at line 64 of file bofstream.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