CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
edm::Transient< T > Class Template Reference

#include <Transient.h>

Public Types

typedef T value_type
 

Public Member Functions

T const & get () const
 
Tget ()
 
 operator T () const
 
Transientoperator= (T const &rh)
 
 Transient ()
 
 Transient (T const &value)
 

Private Attributes

T value_
 

Detailed Description

template<typename T>
class edm::Transient< T >

Definition at line 30 of file Transient.h.

Member Typedef Documentation

template<typename T>
typedef T edm::Transient< T >::value_type

Definition at line 32 of file Transient.h.

Constructor & Destructor Documentation

template<typename T>
edm::Transient< T >::Transient ( )
inline

Definition at line 33 of file Transient.h.

33 : value_(T()) {}
long double T
template<typename T>
edm::Transient< T >::Transient ( T const &  value)
inlineexplicit

Definition at line 34 of file Transient.h.

Member Function Documentation

template<typename T>
T const& edm::Transient< T >::get ( void  ) const
inline

Definition at line 37 of file Transient.h.

Referenced by Options.Options::__getitem__().

37 { return value_;}
template<typename T>
T& edm::Transient< T >::get ( void  )
inline

Definition at line 38 of file Transient.h.

Referenced by Options.Options::__getitem__().

38 { return value_;}
template<typename T>
edm::Transient< T >::operator T ( ) const
inline

Definition at line 35 of file Transient.h.

References edm::Transient< T >::value_.

35 { return value_; }
template<typename T>
Transient& edm::Transient< T >::operator= ( T const &  rh)
inline

Definition at line 36 of file Transient.h.

36 { value_ = rh; return *this; }

Member Data Documentation

template<typename T>
T edm::Transient< T >::value_
private