#include <binary_ofstream.h>
Public Member Functions | |
binary_ofstream (const char *name) | |
binary_ofstream (const std::string &name) | |
void | close () |
binary_ofstream & | operator<< (char n) |
binary_ofstream & | operator<< (unsigned char n) |
binary_ofstream & | operator<< (short n) |
binary_ofstream & | operator<< (unsigned short n) |
binary_ofstream & | operator<< (int n) |
binary_ofstream & | operator<< (unsigned int n) |
binary_ofstream & | operator<< (long n) |
binary_ofstream & | operator<< (unsigned long n) |
binary_ofstream & | operator<< (float n) |
binary_ofstream & | operator<< (double n) |
binary_ofstream & | operator<< (bool n) |
binary_ofstream & | operator<< (const std::string &n) |
~binary_ofstream () | |
Private Member Functions | |
void | init (const char *name) |
Private Attributes | |
FILE * | file_ |
Definition at line 8 of file binary_ofstream.h.
|
explicit |
|
explicit |
binary_ofstream::~binary_ofstream | ( | ) |
Definition at line 28 of file binary_ofstream.cc.
References close().
void binary_ofstream::close | ( | void | ) |
Definition at line 32 of file binary_ofstream.cc.
References file_.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), and ~binary_ofstream().
|
private |
Definition at line 18 of file binary_ofstream.cc.
References gather_cfg::cout, and file_.
Referenced by binary_ofstream().
binary_ofstream & binary_ofstream::operator<< | ( | char | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | unsigned char | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | short | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | unsigned short | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | int | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | unsigned int | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | long | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | unsigned long | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | float | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | double | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | bool | n | ) |
binary_ofstream & binary_ofstream::operator<< | ( | const std::string & | n | ) |
Definition at line 66 of file binary_ofstream.cc.
References file_.
|
private |
Definition at line 38 of file binary_ofstream.h.
Referenced by close(), init(), and operator<<().