CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Classes | Namespaces | Functions | Variables
testSharedPtr.cc File Reference
#include "CLHEP/Utility/memory.h"
#include <cassert>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

struct  n_constructors::A
 
struct  n_constructors::X
 
struct  n_constructors::Y
 
struct  n_constructors::deleter3
 
struct  n_assignment::A
 
struct  n_assignment::X
 
struct  n_assignment::Y
 
struct  n_reset::X
 
struct  n_reset::A
 
struct  n_reset::Y
 
struct  n_access::X
 
struct  n_use_count::X
 
struct  n_swap::X
 
struct  n_comparison::X
 
struct  n_comparison::Y
 
struct  n_comparison::Z
 
struct  n_static_cast::X
 
struct  n_static_cast::Y
 
struct  n_dynamic_cast::V
 
struct  n_dynamic_cast::W
 
struct  n_map::X
 
struct  n_transitive::X
 
class  n_report_2::foo
 
class  n_report_2::deleter
 
class  n_spt_pimpl::file
 
class  n_spt_abstract::X
 
class  n_spt_preventing_delete::X
 
struct  n_spt_array::X
 
class  n_spt_static::X
 
struct  n_spt_static::null_deleter
 
struct  n_spt_intrusive::X
 
struct  n_spt_intrusive::intrusive_deleter< T >
 
class  n_spt_another_sp::another_ptr< T >
 
class  n_spt_another_sp::event_handler
 
class  n_spt_another_sp::event_handler_impl
 
class  n_spt_another_sp::smart_pointer_deleter< P >
 
class  n_spt_incomplete::file
 
class  n_spt_pimpl::file::impl
 
class  n_spt_abstract::X_impl
 

Namespaces

 n_element_type
 
 n_constructors
 
 n_assignment
 
 n_reset
 
 n_access
 
 n_use_count
 
 n_swap
 
 n_comparison
 
 n_static_cast
 
 n_const_cast
 
 n_dynamic_cast
 
 n_map
 
 n_transitive
 
 n_report_2
 
 n_spt_incomplete
 
 n_spt_pimpl
 
 n_spt_abstract
 
 n_spt_preventing_delete
 
 n_spt_array
 
 n_spt_static
 
 n_spt_intrusive
 
 n_spt_another_sp
 
 n_spt_wrap
 

Functions

void n_element_type::f (int &)
 
void n_element_type::test ()
 
void n_constructors::default_constructor ()
 
template<class T >
void n_constructors::pc0_test (T *p)
 
void n_constructors::pointer_constructor ()
 
void n_constructors::deleter (int *p)
 
void n_constructors::deleter2 (int *p)
 
void n_constructors::deleter_constructor ()
 
void n_constructors::copy_constructor ()
 
void n_constructors::weak_ptr_constructor ()
 
void n_constructors::auto_ptr_constructor ()
 
void n_constructors::test ()
 
void n_assignment::copy_assignment ()
 
void n_assignment::conversion_assignment ()
 
void n_assignment::auto_ptr_assignment ()
 
void n_assignment::test ()
 
void n_reset::deleter (incomplete *)
 
void n_reset::plain_reset ()
 
void n_reset::pointer_reset ()
 
void n_reset::deleter2 (void *p)
 
void n_reset::deleter_reset ()
 
void n_reset::test ()
 
void n_access::test ()
 
void n_use_count::test ()
 
void n_swap::test ()
 
void n_comparison::test ()
 
void n_static_cast::test ()
 
void n_const_cast::test ()
 
void n_dynamic_cast::test ()
 
void n_map::test ()
 
void n_transitive::test ()
 
void n_report_2::test ()
 
shared_ptr< file > n_spt_incomplete::fopen (char const *name, char const *mode)
 
void n_spt_incomplete::fread (shared_ptr< file > f, void *data, long size)
 
void n_spt_incomplete::test ()
 
void n_spt_pimpl::test ()
 
shared_ptr< Xn_spt_abstract::createX ()
 
void n_spt_abstract::test ()
 
void n_spt_preventing_delete::test ()
 
void n_spt_array::test ()
 
void n_spt_static::test ()
 
void n_spt_intrusive::intrusive_ptr_add_ref (X *p)
 
void n_spt_intrusive::intrusive_ptr_release (X *p)
 
shared_ptr< Xn_spt_intrusive::make_shared_from_intrusive (X *p)
 
void n_spt_intrusive::test ()
 
another_ptr< event_handler > n_spt_another_sp::get_event_handler ()
 
void n_spt_another_sp::install_event_handler (shared_ptr< event_handler > p)
 
void n_spt_another_sp::handle_event (int event)
 
void n_spt_another_sp::remove_event_handler ()
 
void n_spt_another_sp::test ()
 
void n_spt_wrap::test ()
 
int main ()
 

Variables

int n_constructors::m = 0
 
incompleten_constructors::p0 = 0
 
incompleten_reset::p0 = 0
 
voidn_reset::deleted = 0
 
int n_spt_incomplete::file_instances = 0
 
int n_spt_pimpl::file_instances = 0
 
int n_spt_abstract::X_instances = 0
 
int n_spt_preventing_delete::X_instances = 0
 
int n_spt_array::X_instances = 0
 
int n_spt_intrusive::X_instances = 0
 
int n_spt_another_sp::begin_called = 0
 
int n_spt_another_sp::handle_called = 0
 
int n_spt_another_sp::end_called = 0
 
shared_ptr< event_handler > n_spt_another_sp::current_handler
 

Function Documentation

◆ main()

int main ( )