LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::Transient< T > Class Template Reference

#include "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
 
T & get ()
 

Private Attributes

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 ( value = T())
inline

Definition at line 20 of file Transient.h.

20 : value_(value) {}
std::string value(boost::any const &)

Member Function Documentation

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

Definition at line 29 of file Transient.h.

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

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= ( rh)
inline

Definition at line 23 of file Transient.h.

24  {
25  value_ = rh;
26  return *this;
27  }

Member Data Documentation


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