15 if (
file_ ==
nullptr) {
16 std::cout <<
"file " <<
name <<
" cannot be opened for reading" << std::endl;
37 n =
static_cast<char>(fgetc(
file_));
42 n =
static_cast<unsigned char>(fgetc(
file_));
82 n =
static_cast<bool>(fgetc(
file_));
89 char*
tmp =
new char[nchar + 1];
90 unsigned int nread = fread(
tmp, 1, nchar,
file_);
92 std::cout <<
"binary_ifstream error: read less then expected " << std::endl;
binary_ifstream & seekg(long)
void init(const char *name)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
binary_ifstream(const char *name)
binary_ifstream & operator>>(char &n)
bool good() const
stream state checking
auto const good
min quality of good
binary_ifstream & operator=(const binary_ifstream &)=delete