Main Page
Namespaces
Classes
Package Documentation
src
FWCore
FWLite
interface
setRefStreamer.h
Go to the documentation of this file.
1
#ifndef FWCore_FWLite_setRefStreamer_h
2
#define FWCore_FWLite_setRefStreamer_h
3
// -*- C++ -*-
4
//
5
// Package: FWLite
6
// Class : setRefStreamer
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Tue May 15 11:25:51 EDT 2007
19
//
20
21
// system include files
22
23
// user include files
24
25
// forward declarations
26
namespace
edm
{
27
class
EDProductGetter
;
28
}
29
30
namespace
fwlite
{
31
edm::EDProductGetter
const
*
setRefStreamer
(
edm::EDProductGetter
const
* ep);
32
33
class
GetterOperate
{
34
public
:
35
GetterOperate
(
edm::EDProductGetter
const
* iEP) : old_(
nullptr
) { old_ =
setRefStreamer
(iEP); }
36
~GetterOperate
() {
setRefStreamer
(old_); }
37
38
private
:
39
edm::EDProductGetter
const
*
old_
;
40
};
41
}
// namespace fwlite
42
43
#endif
fwlite::GetterOperate::GetterOperate
GetterOperate(edm::EDProductGetter const *iEP)
Definition:
setRefStreamer.h:35
fwlite::GetterOperate::~GetterOperate
~GetterOperate()
Definition:
setRefStreamer.h:36
edm::EDProductGetter
Definition:
EDProductGetter.h:32
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
fwlite::setRefStreamer
edm::EDProductGetter const * setRefStreamer(edm::EDProductGetter const *ep)
Definition:
RefStreamer.cc:11
fwlite::GetterOperate
Definition:
setRefStreamer.h:33
EDProductGetter
edm
HLT enums.
Definition:
AlignableModifier.h:17
fwlite
Definition:
TFileDirectory.h:16
fwlite::GetterOperate::old_
edm::EDProductGetter const * old_
Definition:
setRefStreamer.h:39
Generated for CMSSW Reference Manual by
1.8.11