#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_10_00/source/cetlib/maybe_ref.h"
Public Types | |
typedef T | value_type |
Public Member Functions | |
maybe_ref () | |
maybe_ref (T &t) | |
bool | isValid () const |
operator bool () const | |
void | reseat () |
void | reseat (T &p) |
T & | ref () |
T const & | ref () const |
void | swap (maybe_ref &other) |
Private Member Functions | |
T & | ref_iff_valid () const |
Private Attributes | |
T * | ptr_ |
Definition at line 35 of file maybe_ref.h.
typedef T cet::maybe_ref< T >::value_type |
Definition at line 52 of file maybe_ref.h.
|
inline |
Definition at line 54 of file maybe_ref.h.
|
inlineexplicit |
Definition at line 55 of file maybe_ref.h.
|
inline |
Definition at line 60 of file maybe_ref.h.
References cet::maybe_ref< T >::ptr_.
Referenced by cet::maybe_ref< T >::operator bool(), and cet::maybe_ref< T >::ref_iff_valid().
|
inlineexplicit |
|
inline |
Definition at line 78 of file maybe_ref.h.
References cet::maybe_ref< T >::ref_iff_valid(), and T.
Referenced by cet::operator==().
|
inline |
|
inlineprivate |
Definition at line 98 of file maybe_ref.h.
References cet::maybe_ref< T >::isValid(), and cet::maybe_ref< T >::ptr_.
Referenced by cet::maybe_ref< T >::ref().
|
inline |
Definition at line 67 of file maybe_ref.h.
References cet::maybe_ref< T >::ptr_.
|
inline |
|
inline |
Definition at line 89 of file maybe_ref.h.
References cet::maybe_ref< T >::ptr_, and cet::swap().
Referenced by cet::swap().
|
private |
Definition at line 95 of file maybe_ref.h.
Referenced by cet::maybe_ref< T >::isValid(), cet::maybe_ref< T >::ref_iff_valid(), cet::maybe_ref< T >::reseat(), and cet::maybe_ref< T >::swap().