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

testSharedPtr.cc File Reference

#include "CLHEP/Utility/memory.h"
#include <cassert>
#include <map>
#include <vector>

Go to the source code of this file.

Namespaces

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

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
class  n_spt_preventing_delete::X::deleter
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

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
void * n_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

int main (  ) 

Definition at line 3219 of file testSharedPtr.cc.

References n_spt_wrap::test(), n_spt_another_sp::test(), n_spt_intrusive::test(), n_spt_static::test(), n_spt_array::test(), n_spt_preventing_delete::test(), n_spt_abstract::test(), n_spt_pimpl::test(), n_spt_incomplete::test(), n_report_2::test(), n_transitive::test(), n_map::test(), n_dynamic_cast::test(), n_const_cast::test(), n_static_cast::test(), n_comparison::test(), n_swap::test(), n_use_count::test(), n_access::test(), n_reset::test(), n_assignment::test(), n_constructors::test(), and n_element_type::test().


Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7