Public Types | Public Member Functions | Private Attributes | List of all members
art::Transient< T > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Provenance/Transient.h"

Public Types

typedef T value_type
 

Public Member Functions

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

Private Attributes

T value_
 

Detailed Description

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

Definition at line 17 of file Transient.h.

Member Typedef Documentation

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

Definition at line 19 of file Transient.h.

Constructor & Destructor Documentation

template<typename T>
art::Transient< T >::Transient ( T  value = T())
inline

Definition at line 20 of file Transient.h.

20 : value_(value) {}
const XML_Char int const XML_Char * value
Definition: expat.h:331

Member Function Documentation

template<typename T>
T const& art::Transient< T >::get ( ) const
inlinenoexcept

Definition at line 29 of file Transient.h.

30  {
31  return value_;
32  }
template<typename T>
T& art::Transient< T >::get ( )
inlinenoexcept

Definition at line 34 of file Transient.h.

35  {
36  return value_;
37  }
template<typename T>
art::Transient< T >::operator T ( ) const
inline

Definition at line 21 of file Transient.h.

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

21 { return value_; }
template<typename T>
Transient& art::Transient< T >::operator= ( T  rh)
inline

Definition at line 23 of file Transient.h.

24  {
25  value_ = rh;
26  return *this;
27  }
TH2 * rh
Definition: drawXsec.C:5

Member Data Documentation

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

The documentation for this class was generated from the following file: