#include <ConstRespectingPtr.h>
Public Member Functions | |
ConstRespectingPtr () | |
ConstRespectingPtr (T *) | |
T const * | get () const |
T * | get () |
bool | isSet () const |
T const & | operator* () const |
T & | operator* () |
T const * | operator-> () const |
T * | operator-> () |
T * | release () |
void | reset () |
void | set (std::unique_ptr< T > iNewValue) |
~ConstRespectingPtr () | |
Private Member Functions | |
ConstRespectingPtr (ConstRespectingPtr< T > const &)=delete | |
ConstRespectingPtr & | operator= (ConstRespectingPtr< T > const &)=delete |
Private Attributes | |
edm::propagate_const< T * > | m_data |
Description: When this is a member of a class, const functions of the class can only call const functions of the object it points at. This aids in using the compiler to help maintain thread safety of const functions.
Usage: WARNING: member data which uses this class must be made transient in the classes_def.xml file if it is a member of a persistent class!
Definition at line 27 of file ConstRespectingPtr.h.
edm::ConstRespectingPtr< T >::ConstRespectingPtr | ( | ) |
Definition at line 59 of file ConstRespectingPtr.h.
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get().
|
explicit |
Definition at line 62 of file ConstRespectingPtr.h.
edm::ConstRespectingPtr< T >::~ConstRespectingPtr | ( | ) |
Definition at line 65 of file ConstRespectingPtr.h.
References edm::propagate_const< T >::get(), and edm::ConstRespectingPtr< T >::m_data.
|
privatedelete |
|
inline |
Definition at line 37 of file ConstRespectingPtr.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 41 of file ConstRespectingPtr.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
bool edm::ConstRespectingPtr< T >::isSet | ( | ) | const |
Definition at line 70 of file ConstRespectingPtr.h.
References edm::ConstRespectingPtr< T >::m_data.
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get().
|
inline |
Definition at line 36 of file ConstRespectingPtr.h.
|
inline |
Definition at line 40 of file ConstRespectingPtr.h.
|
inline |
Definition at line 35 of file ConstRespectingPtr.h.
|
inline |
Definition at line 39 of file ConstRespectingPtr.h.
|
privatedelete |
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get().
T * edm::ConstRespectingPtr< T >::release | ( | ) |
Definition at line 79 of file ConstRespectingPtr.h.
References edm::ConstRespectingPtr< T >::m_data, and tmp.
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get().
void edm::ConstRespectingPtr< T >::reset | ( | void | ) |
Definition at line 86 of file ConstRespectingPtr.h.
References edm::ConstRespectingPtr< T >::m_data.
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get().
void edm::ConstRespectingPtr< T >::set | ( | std::unique_ptr< T > | iNewValue | ) |
Definition at line 73 of file ConstRespectingPtr.h.
References edm::ConstRespectingPtr< T >::m_data.
|
private |
Definition at line 55 of file ConstRespectingPtr.h.
Referenced by edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::get(), edm::ConstRespectingPtr< T >::isSet(), edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::operator*(), edm::ConstRespectingPtr< DTBufferTreeUniquePtr >::operator->(), edm::ConstRespectingPtr< T >::release(), edm::ConstRespectingPtr< T >::reset(), edm::ConstRespectingPtr< T >::set(), and edm::ConstRespectingPtr< T >::~ConstRespectingPtr().