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
class
binary_ofstream
{
8
public
:
9
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
37
FILE*
file_
;
38
39
void
init
(
const
char
* name);
40
41
};
42
43
#endif
binary_ofstream
Definition:
binary_ofstream.h:7
binary_ofstream::close
void close()
Definition:
binary_ofstream.cc:32
AlCaRecoCosmics_cfg.name
tuple name
Definition:
AlCaRecoCosmics_cfg.py:24
binary_ofstream::file_
FILE * file_
Definition:
binary_ofstream.h:37
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:32
binary_ofstream::~binary_ofstream
~binary_ofstream()
Definition:
binary_ofstream.cc:28
Generated for CMSSW Reference Manual by
1.8.5