CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <memory.h>
Public Types | |
typedef P | element_type |
typedef P | element_type |
typedef P | element_type |
typedef P | element_type |
typedef P | element_type |
Public Member Functions | |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
template<typename P2 > | |
weak_ptr< P > & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr< P > & | operator= (shared_ptr< P2 > const &r) throw () |
Friends | |
template<typename > | |
class | shared_ptr |
template<typename > | |
class | weak_ptr |
template<typename > | |
class | shared_ptr |
template<typename > | |
class | shared_ptr |
template<typename > | |
class | shared_ptr |
template<typename > | |
class | shared_ptr |
Definition at line 67 of file Matrix/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< T >::element_type |
Definition at line 1309 of file Matrix/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< T >::element_type |
Definition at line 1309 of file Utility/Utility/memory.h.
typedef P CLHEP::weak_ptr< T >::element_type |
Definition at line 1309 of file Utility/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< T >::element_type |
Definition at line 1309 of file RandomObjects/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< T >::element_type |
Definition at line 1309 of file Random/CLHEP/Utility/memory.h.
|
inline |
Definition at line 1356 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
Definition at line 1363 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
Definition at line 1372 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1422 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::empty().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1444 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1453 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1415 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::use_count().
Referenced by main().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1401 of file Matrix/CLHEP/Utility/memory.h.
Referenced by main(), and test_is_Y().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | |
throw | ( | ||||
) |
Definition at line 1382 of file Matrix/CLHEP/Utility/memory.h.
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | |
throw | ( | ||||
) |
Definition at line 1392 of file Matrix/CLHEP/Utility/memory.h.
|
inline |
|
inline |
|
inline |
Definition at line 1429 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::weak_ptr< T >::swap().
Referenced by n_reset::test2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1436 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::swap(), and CLHEP::swap().
Referenced by CLHEP::weak_ptr< T >::reset().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1408 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::use_count().
Referenced by n_constructors::conversion_constructor(), main(), n_constructors::shared_ptr_constructor(), n_reset::test2(), and n_constructors::weak_ptr_constructor().
|
inline |
Definition at line 1305 of file Matrix/CLHEP/Utility/memory.h.
Definition at line 1305 of file Utility/Utility/memory.h.
Definition at line 1305 of file Utility/CLHEP/Utility/memory.h.
Definition at line 1305 of file RandomObjects/CLHEP/Utility/memory.h.
Definition at line 1305 of file Random/CLHEP/Utility/memory.h.
Definition at line 1306 of file Matrix/CLHEP/Utility/memory.h.