MagneticField
Interpolation
src
binary_ifstream.h
Go to the documentation of this file.
1
#ifndef binary_ifstream_H
2
#define binary_ifstream_H
3
4
#include <string>
5
#include <cstdio>
6
#include "
FWCore/Utilities/interface/Visibility.h
"
7
8
class
binary_ifstream
{
9
public
:
10
explicit
binary_ifstream
(
const
char
*
name
);
11
explicit
binary_ifstream
(
const
std::string
&
name
);
12
13
~binary_ifstream
();
14
15
binary_ifstream
&
operator>>
(
char
&
n
);
16
binary_ifstream
&
operator>>
(
unsigned
char
&
n
);
17
18
binary_ifstream
&
operator>>
(
short
&
n
);
19
binary_ifstream
&
operator>>
(
unsigned
short
&
n
);
20
21
binary_ifstream
&
operator>>
(
int
&
n
);
22
binary_ifstream
&
operator>>
(
unsigned
int
&
n
);
23
24
binary_ifstream
&
operator>>
(
long
&
n
);
25
binary_ifstream
&
operator>>
(
unsigned
long
&
n
);
26
27
binary_ifstream
&
operator>>
(
float
&
n
);
28
binary_ifstream
&
operator>>
(
double
&
n
);
29
30
binary_ifstream
&
operator>>
(
bool
&
n
);
31
binary_ifstream
&
operator>>
(
std::string
&
n
);
32
33
void
close
();
34
36
bool
good
()
const
;
37
bool
eof
()
const
;
38
bool
fail
()
const
;
39
bool
bad
()
const
;
40
bool
operator!
()
const
;
41
operator
bool
()
const
;
42
43
private
:
44
FILE*
file_
;
45
46
void
init
(
const
char
*
name
);
47
};
48
49
#endif
Visibility.h
electrons_cff.bool
bool
Definition:
electrons_cff.py:393
binary_ifstream::good
bool good() const
stream state checking
Definition:
binary_ifstream.cc:89
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
binary_ifstream::operator>>
binary_ifstream & operator>>(char &n)
Definition:
binary_ifstream.cc:27
binary_ifstream::init
void init(const char *name)
Definition:
binary_ifstream.cc:12
binary_ifstream
Definition:
binary_ifstream.h:8
binary_ifstream::~binary_ifstream
~binary_ifstream()
Definition:
binary_ifstream.cc:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
binary_ifstream::binary_ifstream
binary_ifstream(const char *name)
Definition:
binary_ifstream.cc:8
binary_ifstream::close
void close()
Definition:
binary_ifstream.cc:21
binary_ifstream::operator!
bool operator!() const
Definition:
binary_ifstream.cc:98
binary_ifstream::eof
bool eof() const
Definition:
binary_ifstream.cc:91
binary_ifstream::fail
bool fail() const
Definition:
binary_ifstream.cc:93
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
binary_ifstream::file_
FILE * file_
Definition:
binary_ifstream.h:44
binary_ifstream::bad
bool bad() const
Definition:
binary_ifstream.cc:96
Generated for CMSSW Reference Manual by
1.8.16