Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::FileOutputStream Class Reference

#include <filestream.h>

Inheritance diagram for Ishtar::FileOutputStream:

Ishtar::OutputStream List of all members.

Detailed Description

An output file stream to which we can write.


Public Member Functions

 FileOutputStream (const std::string &filename, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::trunc)
 Constructor, open filename in output (or another specified mode).
virtual void write (const void *data, const Size size)
 Write a data buffer, no endian conversion.
virtual void flush (void)
 Flush the internal buffer, be sure that datas are really written.
 operator bool ()
 cast to bool operator, returns true if stream is valid

Protected Attributes

std::ofstream stream
 underlying c++ file stream


The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:30:54 2005 for libishtarnet by  doxygen 1.4.2