#include <filestream.h>
Inheritance diagram for Ishtar::FileOutputStream:
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 |