Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
7
class
RemoteFile
:
protected
File
8
{
9
public
:
10
~RemoteFile
(
void
) {
remove
(); }
11
12
static
int
local
(
const
std::string &tmpdir, std::string &
temp
);
13
static
Storage
*
get
(
int
localfd,
const
std::string &
name
,
14
char
**
cmd
,
int
mode
);
15
16
protected
:
17
virtual
void
close
(
void
);
18
virtual
void
abort
(
void
);
19
20
private
:
21
RemoteFile
(
IOFD
fd
,
const
std::string &
name
);
22
void
remove
(void);
23
std::string
name_
;
24
};
25
26
#endif // STORAGE_FACTORY_REMOTE_FILE_H
RemoteFile::RemoteFile
RemoteFile(IOFD fd, const std::string &name)
Definition:
RemoteFile.cc:37
Storage
Definition:
Storage.h:8
RemoteFile::abort
virtual void abort(void)
Definition:
RemoteFile.cc:51
AlCaRecoCosmics_cfg.name
tuple name
Definition:
AlCaRecoCosmics_cfg.py:24
File.h
RemoteFile::local
static int local(const std::string &tmpdir, std::string &temp)
Definition:
RemoteFile.cc:55
RemoteFile::close
virtual void close(void)
Definition:
RemoteFile.cc:47
cond::rpcobtemp::temp
Definition:
RPCObTempPyWrapper.cc:64
asciidump.cmd
string cmd
Definition:
asciidump.py:19
RemoteFile::~RemoteFile
~RemoteFile(void)
Definition:
RemoteFile.h:10
RemoteFile::name_
std::string name_
Definition:
RemoteFile.h:23
RemoteFile
Definition:
RemoteFile.h:7
mode
int mode
Definition:
AMPTWrapper.h:139
IOFD
int IOFD
Definition:
IOTypes.h:22
IOChannel::fd
virtual IOFD fd(void) const
Definition:
IOChannel.cc:73
File
Definition:
File.h:11
Generated for CMSSW Reference Manual by
1.8.5