#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 | ( | ) |
void binary_ofstream::close | ( | void | ) |
Definition at line 21 of file binary_ofstream.cc.
References file_.
Referenced by esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.FDJsonServer::handle_close(), and ~binary_ofstream().
|
private |
Definition at line 12 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 71 of file binary_ofstream.cc.
References file_.
|
private |
Definition at line 36 of file binary_ofstream.h.
Referenced by close(), init(), and operator<<().