Main Page
Namespaces
Classes
Package Documentation
Utilities
StorageFactory
interface
RemoteFile.h
Go to the documentation of this file.
1
#ifndef STORAGE_FACTORY_REMOTE_FILE_H
2
# define STORAGE_FACTORY_REMOTE_FILE_H
3
4
# include "
Utilities/StorageFactory/interface/File.h
"
5
# include <string>
6
#include <memory>
7
8
class
RemoteFile
:
protected
File
9
{
10
public
:
11
~RemoteFile
(
void
) {
remove
(); }
12
13
static
int
local
(
const
std::string
&tmpdir,
std::string
&
temp
);
14
static
std::unique_ptr<Storage>
get
(
int
localfd,
const
std::string
&
name
,
15
char
**
cmd
,
int
mode
);
16
17
protected
:
18
virtual
void
close
(
void
);
19
virtual
void
abort
(
void
);
20
21
private
:
22
RemoteFile
(
IOFD
fd
,
const
std::string
&name);
23
void
remove
(void);
24
std::string
name_
;
25
};
26
27
#endif // STORAGE_FACTORY_REMOTE_FILE_H
RemoteFile::RemoteFile
RemoteFile(IOFD fd, const std::string &name)
Definition:
RemoteFile.cc:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
RemoteFile::abort
virtual void abort(void)
Definition:
RemoteFile.cc:51
File.h
RemoteFile::local
static int local(const std::string &tmpdir, std::string &temp)
Definition:
RemoteFile.cc:55
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
RemoteFile::close
virtual void close(void)
Definition:
RemoteFile.cc:47
RemoteFile::~RemoteFile
~RemoteFile(void)
Definition:
RemoteFile.h:11
RemoteFile::name_
std::string name_
Definition:
RemoteFile.h:24
RemoteFile
Definition:
RemoteFile.h:8
IOFD
int IOFD
Definition:
IOTypes.h:22
IOChannel::fd
virtual IOFD fd(void) const
Definition:
IOChannel.cc:73
dataset.name
name
Definition:
dataset.py:45
File
Definition:
File.h:11
heppy_check.cmd
cmd
Definition:
heppy_check.py:61
Generated for CMSSW Reference Manual by
1.8.11