MyraMath
|
An OutputStream that thinly wraps a std::ofstream, for writing to files. More...
#include <FileStreams.h>
Public Member Functions | |
FileOutputStream (const std::string &filename) | |
Opens a file for writing. | |
FileOutputStream (const char *filename) | |
Opens a file for writing. | |
virtual void | write_binary (const char *p, size_t n) |
Writes to underlying file. | |
void | close () |
Closes underlying file. | |
![]() | |
template<class T > | |
void | write (const T &t) |
An OutputStream that thinly wraps a std::ofstream, for writing to files.