#include <binary_ifstream.h>
Public Member Functions | |
bool | bad () const |
binary_ifstream (const char *name) | |
binary_ifstream (const std::string &name) | |
void | close () |
bool | eof () const |
bool | fail () const |
bool | good () const |
stream state checking More... | |
operator bool () const | |
bool | operator! () const |
binary_ifstream & | operator>> (char &n) |
binary_ifstream & | operator>> (unsigned char &n) |
binary_ifstream & | operator>> (short &n) |
binary_ifstream & | operator>> (unsigned short &n) |
binary_ifstream & | operator>> (int &n) |
binary_ifstream & | operator>> (unsigned int &n) |
binary_ifstream & | operator>> (long &n) |
binary_ifstream & | operator>> (unsigned long &n) |
binary_ifstream & | operator>> (float &n) |
binary_ifstream & | operator>> (double &n) |
binary_ifstream & | operator>> (bool &n) |
binary_ifstream & | operator>> (std::string &n) |
~binary_ifstream () | |
Private Member Functions | |
void | init (const char *name) |
Private Attributes | |
FILE * | file_ |
Definition at line 8 of file binary_ifstream.h.
|
explicit |
|
explicit |
binary_ifstream::~binary_ifstream | ( | ) |
bool binary_ifstream::bad | ( | ) | const |
Definition at line 96 of file binary_ifstream.cc.
References fail().
Referenced by good(), and operator!().
void binary_ifstream::close | ( | void | ) |
Definition at line 21 of file binary_ifstream.cc.
References file_.
Referenced by esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.FDJsonServer::handle_close(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), Vispa.Gui.FindDialog.FindDialog::keyPressEvent(), MagneticFieldGrid::load(), and ~binary_ifstream().
bool binary_ifstream::eof | ( | ) | const |
Definition at line 91 of file binary_ifstream.cc.
References file_.
Referenced by good(), and operator!().
bool binary_ifstream::fail | ( | ) | const |
Definition at line 93 of file binary_ifstream.cc.
References file_.
Referenced by bad(), and operator!().
bool binary_ifstream::good | ( | ) | const |
stream state checking
Definition at line 89 of file binary_ifstream.cc.
Referenced by operator bool().
|
private |
Definition at line 12 of file binary_ifstream.cc.
References gather_cfg::cout, and file_.
Referenced by binary_ifstream().
binary_ifstream::operator bool | ( | ) | const |
bool binary_ifstream::operator! | ( | ) | const |
binary_ifstream & binary_ifstream::operator>> | ( | char & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | unsigned char & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | short & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | unsigned short & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | int & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | unsigned int & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | long & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | unsigned long & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | float & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | double & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | bool & | n | ) |
binary_ifstream & binary_ifstream::operator>> | ( | std::string & | n | ) |
Definition at line 77 of file binary_ifstream.cc.
References gather_cfg::cout, file_, and createJobs::tmp.
|
private |
Definition at line 44 of file binary_ifstream.h.
Referenced by close(), eof(), fail(), init(), and operator>>().