CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
Classes | |
struct | A |
struct | X |
struct | Y |
struct | deleter3 |
Functions | |
void | default_constructor () |
template<class T > | |
void | pc0_test (T *p) |
void | pointer_constructor () |
void | deleter (int *p) |
void | deleter2 (int *p) |
void | deleter_constructor () |
void | copy_constructor () |
void | weak_ptr_constructor () |
void | auto_ptr_constructor () |
void | test () |
void | shared_ptr_constructor () |
void | conversion_constructor () |
Variables | |
int | m = 0 |
incomplete * | p0 = 0 |
void n_constructors::auto_ptr_constructor | ( | ) |
Definition at line 848 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), CLHEP::shared_ptr< P >::unique(), and CLHEP::shared_ptr< P >::use_count().
Referenced by test().
Definition at line 336 of file testWeakPtr.cc.
References create_incomplete(), CLHEP::shared_ptr< P >::reset(), and CLHEP::weak_ptr< P >::use_count().
void n_constructors::copy_constructor | ( | ) |
Definition at line 500 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), CLHEP::shared_ptr< P >::unique(), and CLHEP::shared_ptr< P >::use_count().
Referenced by test().
void n_constructors::default_constructor | ( | ) |
Definition at line 56 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), and CLHEP::shared_ptr< P >::use_count().
Referenced by test().
void n_constructors::deleter | ( | int * | p | ) |
Definition at line 373 of file testSharedPtr.cc.
Referenced by n_spt_preventing_delete::X::create(), deleter_constructor(), CLHEP::sp::ctrl_block_pd< P, D >::dispose(), CLHEP::sp::ctrl_block_pda< P, D, A >::dispose(), CLHEP::sp::ctrl_block_pd< P, D >::get_deleter(), CLHEP::sp::ctrl_block_pda< P, D, A >::get_deleter(), n_reset::plain_reset(), and n_report_2::test().
void n_constructors::deleter2 | ( | int * | p | ) |
Definition at line 379 of file testSharedPtr.cc.
References m.
Referenced by deleter_constructor(), and n_reset::deleter_reset().
void n_constructors::deleter_constructor | ( | ) |
Definition at line 396 of file testSharedPtr.cc.
References deleter(), deleter2(), CLHEP::shared_ptr< P >::get(), m, p0, CLHEP::shared_ptr< P >::unique(), and CLHEP::shared_ptr< P >::use_count().
Referenced by test().
void n_constructors::pc0_test | ( | T * | p | ) |
Definition at line 136 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), CLHEP::shared_ptr< P >::unique(), and CLHEP::shared_ptr< P >::use_count().
Referenced by pointer_constructor().
void n_constructors::pointer_constructor | ( | ) |
Definition at line 148 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), pc0_test(), CLHEP::shared_ptr< P >::unique(), and CLHEP::shared_ptr< P >::use_count().
Referenced by test().
Definition at line 91 of file testWeakPtr.cc.
References create_incomplete(), CLHEP::shared_ptr< P >::use_count(), and CLHEP::weak_ptr< P >::use_count().
void n_constructors::test | ( | ) |
Definition at line 1119 of file testSharedPtr.cc.
References auto_ptr_constructor(), copy_constructor(), default_constructor(), deleter_constructor(), pointer_constructor(), and weak_ptr_constructor().
void n_constructors::weak_ptr_constructor | ( | ) |
Definition at line 756 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), CLHEP::shared_ptr< P >::reset(), CLHEP::shared_ptr< P >::unique(), CLHEP::shared_ptr< P >::use_count(), and CLHEP::weak_ptr< P >::use_count().
Referenced by test().
int n_constructors::m = 0 |
Definition at line 370 of file testSharedPtr.cc.
Referenced by deleter2(), and deleter_constructor().
Definition at line 393 of file testSharedPtr.cc.
Referenced by deleter_constructor(), n_reset::deleter_reset(), main(), Genfun::PtRelFcn::operator()(), perturb(), and n_reset::plain_reset().