Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
11
explicit
binary_ofstream
(
const
char
*
name
);
12
explicit
binary_ofstream
(
const
std::string
& name);
13
14
~binary_ofstream
();
15
16
binary_ofstream
&
operator<<
(
char
n
);
17
binary_ofstream
&
operator<<
(
unsigned
char
n);
18
19
binary_ofstream
&
operator<<
(
short
n);
20
binary_ofstream
&
operator<<
(
unsigned
short
n);
21
22
binary_ofstream
&
operator<<
(
int
n);
23
binary_ofstream
&
operator<<
(
unsigned
int
n);
24
25
binary_ofstream
&
operator<<
(
long
n);
26
binary_ofstream
&
operator<<
(
unsigned
long
n);
27
28
binary_ofstream
&
operator<<
(
float
n);
29
binary_ofstream
&
operator<<
(
double
n);
30
31
binary_ofstream
&
operator<<
(
bool
n);
32
binary_ofstream
&
operator<<
(
const
std::string
& n);
33
34
void
close
();
35
36
private
:
37
38
FILE*
file_
;
39
40
void
init
(
const
char
* name);
41
42
};
43
44
#endif
binary_ofstream
Definition:
binary_ofstream.h:8
binary_ofstream::close
void close()
Definition:
binary_ofstream.cc:32
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Visibility.h
binary_ofstream::file_
FILE * file_
Definition:
binary_ofstream.h:38
binary_ofstream::init
void init(const char *name)
Definition:
binary_ofstream.cc:18
binary_ofstream::binary_ofstream
binary_ofstream(const char *name)
Definition:
binary_ofstream.cc:8
binary_ofstream::operator<<
binary_ofstream & operator<<(char n)
Definition:
binary_ofstream.cc:38
n
int n
Definition:
DTDataIntegrityTask.cc:31
binary_ofstream::~binary_ofstream
~binary_ofstream()
Definition:
binary_ofstream.cc:28
Generated for CMSSW Reference Manual by
1.8.5