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 |
Friends | |
class | shared_ptr |
class | weak_ptr |
Definition at line 1290 of file Matrix/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< P >::element_type |
Definition at line 1298 of file Matrix/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< P >::element_type |
Definition at line 1298 of file Utility/Utility/memory.h.
typedef P CLHEP::weak_ptr< P >::element_type |
Definition at line 1298 of file Utility/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< P >::element_type |
Definition at line 1298 of file RandomObjects/CLHEP/Utility/memory.h.
typedef P CLHEP::weak_ptr< P >::element_type |
Definition at line 1298 of file Random/CLHEP/Utility/memory.h.
CLHEP::weak_ptr< P >::weak_ptr | ( | ) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | weak_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
Definition at line 1352 of file Matrix/CLHEP/Utility/memory.h.
CLHEP::weak_ptr< P >::weak_ptr | ( | shared_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
Definition at line 1361 of file Matrix/CLHEP/Utility/memory.h.
CLHEP::weak_ptr< P >::weak_ptr | ( | ) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | weak_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | shared_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | ) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | weak_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | shared_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | ) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | weak_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | shared_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | ) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | weak_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
CLHEP::weak_ptr< P >::weak_ptr | ( | shared_ptr< P2 > const & | r, |
typename enable_if_ptr_convertible< P2, P, void * >::type | = 0 |
||
) | throw () [inline] |
bool CLHEP::weak_ptr< P >::_empty | ( | ) | const [inline] |
Definition at line 1411 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::empty().
bool CLHEP::weak_ptr< P >::_empty | ( | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_empty | ( | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_empty | ( | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_empty | ( | ) | const [inline] |
void CLHEP::weak_ptr< P >::_internal_assign | ( | P * | px2, |
sp::shared_ctrl_handle const & | pn2 | ||
) | [inline] |
Definition at line 1433 of file Matrix/CLHEP/Utility/memory.h.
void CLHEP::weak_ptr< P >::_internal_assign | ( | P * | px2, |
sp::shared_ctrl_handle const & | pn2 | ||
) | [inline] |
void CLHEP::weak_ptr< P >::_internal_assign | ( | P * | px2, |
sp::shared_ctrl_handle const & | pn2 | ||
) | [inline] |
void CLHEP::weak_ptr< P >::_internal_assign | ( | P * | px2, |
sp::shared_ctrl_handle const & | pn2 | ||
) | [inline] |
void CLHEP::weak_ptr< P >::_internal_assign | ( | P * | px2, |
sp::shared_ctrl_handle const & | pn2 | ||
) | [inline] |
bool CLHEP::weak_ptr< P >::_internal_less | ( | weak_ptr< P2 > const & | rhs | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_internal_less | ( | weak_ptr< P2 > const & | rhs | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_internal_less | ( | weak_ptr< P2 > const & | rhs | ) | const [inline] |
Definition at line 1442 of file Matrix/CLHEP/Utility/memory.h.
bool CLHEP::weak_ptr< P >::_internal_less | ( | weak_ptr< P2 > const & | rhs | ) | const [inline] |
bool CLHEP::weak_ptr< P >::_internal_less | ( | weak_ptr< P2 > const & | rhs | ) | const [inline] |
bool CLHEP::weak_ptr< P >::expired | ( | ) | const throw () [inline] |
bool CLHEP::weak_ptr< P >::expired | ( | ) | const throw () [inline] |
bool CLHEP::weak_ptr< P >::expired | ( | ) | const throw () [inline] |
bool CLHEP::weak_ptr< P >::expired | ( | ) | const throw () [inline] |
Definition at line 1404 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::use_count().
Referenced by main().
bool CLHEP::weak_ptr< P >::expired | ( | ) | const throw () [inline] |
shared_ptr<P> CLHEP::weak_ptr< P >::lock | ( | ) | const throw () [inline] |
shared_ptr<P> CLHEP::weak_ptr< P >::lock | ( | ) | const throw () [inline] |
shared_ptr<P> CLHEP::weak_ptr< P >::lock | ( | ) | const throw () [inline] |
shared_ptr< P > CLHEP::weak_ptr< P >::lock | ( | ) | const throw () [inline] |
Definition at line 1390 of file Matrix/CLHEP/Utility/memory.h.
Referenced by main(), and test_is_Y().
shared_ptr<P> CLHEP::weak_ptr< P >::lock | ( | ) | const throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | throw () [inline] |
Definition at line 1371 of file Matrix/CLHEP/Utility/memory.h.
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | throw () [inline] |
Definition at line 1381 of file Matrix/CLHEP/Utility/memory.h.
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | throw () [inline] |
weak_ptr& CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::reset | ( | ) | throw () [inline] |
Definition at line 1418 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::weak_ptr< P >::swap().
Referenced by n_reset::test2().
void CLHEP::weak_ptr< P >::reset | ( | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::reset | ( | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::reset | ( | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::reset | ( | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::swap | ( | this_type & | other | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::swap | ( | this_type & | other | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::swap | ( | this_type & | other | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::swap | ( | this_type & | other | ) | throw () [inline] |
void CLHEP::weak_ptr< P >::swap | ( | this_type & | other | ) | throw () [inline] |
Definition at line 1425 of file Matrix/CLHEP/Utility/memory.h.
References CLHEP::sp::weak_ctrl_handle::swap().
Referenced by CLHEP::weak_ptr< P >::reset(), and CLHEP::swap().
long CLHEP::weak_ptr< P >::use_count | ( | ) | const throw () [inline] |
Definition at line 1397 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().
long CLHEP::weak_ptr< P >::use_count | ( | ) | const throw () [inline] |
long CLHEP::weak_ptr< P >::use_count | ( | ) | const throw () [inline] |
long CLHEP::weak_ptr< P >::use_count | ( | ) | const throw () [inline] |
long CLHEP::weak_ptr< P >::use_count | ( | ) | const throw () [inline] |
shared_ptr [friend] |
Definition at line 1294 of file Matrix/CLHEP/Utility/memory.h.
CLHEP::weak_ptr< P >::weak_ptr [friend] |
Definition at line 1295 of file Matrix/CLHEP/Utility/memory.h.