src
MagneticField
Interpolation
src
binary_ofstream.h
Go to the documentation of this file.
1
#ifndef binary_ofstream_H
2
#define binary_ofstream_H
3
4
#include <string>
5
#include <cstdio>
6
7
#include "
FWCore/Utilities/interface/Visibility.h
"
8
class
binary_ofstream
{
9
public
:
10
explicit
binary_ofstream
(
const
char
*
name
);
11
explicit
binary_ofstream
(
const
std::string
&
name
);
12
13
~binary_ofstream
();
14
15
binary_ofstream
&
operator<<
(
char
n
);
16
binary_ofstream
&
operator<<
(
unsigned
char
n
);
17
18
binary_ofstream
&
operator<<
(
short
n
);
19
binary_ofstream
&
operator<<
(
unsigned
short
n
);
20
21
binary_ofstream
&
operator<<
(
int
n
);
22
binary_ofstream
&
operator<<
(
unsigned
int
n
);
23
24
binary_ofstream
&
operator<<
(
long
n
);
25
binary_ofstream
&
operator<<
(
unsigned
long
n
);
26
27
binary_ofstream
&
operator<<
(
float
n
);
28
binary_ofstream
&
operator<<
(
double
n
);
29
30
binary_ofstream
&
operator<<
(
bool
n
);
31
binary_ofstream
&
operator<<
(
const
std::string
&
n
);
32
33
void
close
();
34
35
private
:
36
FILE*
file_
;
37
38
void
init
(
const
char
*
name
);
39
};
40
41
#endif
binary_ofstream
Definition:
binary_ofstream.h:8
binary_ofstream::close
void close()
Definition:
binary_ofstream.cc:22
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Visibility.h
binary_ofstream::file_
FILE * file_
Definition:
binary_ofstream.h:36
mergeVDriftHistosByStation.name
name
Definition:
mergeVDriftHistosByStation.py:78
binary_ofstream::init
void init(const char *name)
Definition:
binary_ofstream.cc:13
binary_ofstream::binary_ofstream
binary_ofstream(const char *name)
Definition:
binary_ofstream.cc:9
binary_ofstream::operator<<
binary_ofstream & operator<<(char n)
Definition:
binary_ofstream.cc:28
create_idmaps.n
n
Definition:
create_idmaps.py:21
binary_ofstream::~binary_ofstream
~binary_ofstream()
Definition:
binary_ofstream.cc:21
Generated for CMSSW Reference Manual by
1.8.14