Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
Provenance
interface
Transient.h
Go to the documentation of this file.
1
#ifndef DataFormats_Provenance_Transient_h
2
#define DataFormats_Provenance_Transient_h
3
// -*- C++ -*-
4
//
5
// Package: Provenance
6
// Class : Transient
7
//
17
//
18
// Original Author: Bill Tanenbaum
19
// Created: Sat Aug 18 17:30:08 EDT 2007
20
//
21
22
// system include files
23
24
// user include files
25
26
// forward declarations
27
namespace
edm {
28
29
template
<
typename
T>
30
class
Transient
{
31
public
:
32
typedef
T
value_type
;
33
Transient
() :
value_
(
T
()) {}
34
explicit
Transient
(
T
const
&
value
) :
value_
(value) {}
35
operator
T
()
const
{
return
value_
; }
36
Transient
&
operator=
(
T
const
& rh) {
value_
= rh;
return
*
this
; }
37
T
const
&
get
()
const
{
return
value_
;}
38
T
&
get
() {
return
value_
;}
39
private
:
40
T
value_
;
41
};
42
}
43
#endif
edm::Transient::value_
T value_
Definition:
Transient.h:40
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
edm::Transient::operator=
Transient & operator=(T const &rh)
Definition:
Transient.h:36
edm::Transient::Transient
Transient()
Definition:
Transient.h:33
edm::Transient::value_type
T value_type
Definition:
Transient.h:32
edm::Transient
Definition:
Transient.h:30
edm::Transient::Transient
Transient(T const &value)
Definition:
Transient.h:34
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5