Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
CLHEP::sp Namespace Reference

Data Structures

class  abstract_ctrl_block
 
struct  const_cast_tag
 
class  ctrl_block_p
 
class  ctrl_block_pd
 
class  ctrl_block_pda
 
struct  dynamic_cast_tag
 
struct  polymorphic_cast_tag
 
class  shared_ctrl_handle
 
struct  shared_ptr_traits
 
struct  shared_ptr_traits< void >
 
struct  shared_ptr_traits< void const >
 
struct  shared_ptr_traits< void const volatile >
 
struct  shared_ptr_traits< void volatile >
 
struct  sp_nothrow_tag
 
struct  static_cast_tag
 
class  weak_ctrl_handle
 

Functions

bool operator== (shared_ctrl_handle const &lhs, shared_ctrl_handle const &rhs)
 
bool operator< (shared_ctrl_handle const &lhs, shared_ctrl_handle const &rhs)
 
bool operator== (weak_ctrl_handle const &lhs, weak_ctrl_handle const &rhs)
 
bool operator< (weak_ctrl_handle const &lhs, weak_ctrl_handle const &rhs)
 
template<typename X , typename Y , typename T >
void sp_enable_shared_from_this (shared_ptr< X > const *ppx, Y const *py, enable_shared_from_this< T > const *pe)
 
template<typename X , typename Y , typename T >
void sp_enable_shared_from_this (shared_ptr< X > *ppx, Y const *py, enable_shared_from_this2< T > const *pe)
 
void sp_enable_shared_from_this (...)
 

Function Documentation

bool CLHEP::sp::operator< ( shared_ctrl_handle const &  lhs,
shared_ctrl_handle const &  rhs 
)

Definition at line 588 of file memory.h.

589 {
590  return std::less<abstract_ctrl_block*>()( lhs.acb_ptr, rhs.acb_ptr );
591 }
bool CLHEP::sp::operator< ( weak_ctrl_handle const &  lhs,
weak_ctrl_handle const &  rhs 
)

Definition at line 710 of file memory.h.

711 {
712  return std::less<abstract_ctrl_block*>()( lhs.acb_ptr, rhs.acb_ptr );
713 }
bool CLHEP::sp::operator== ( shared_ctrl_handle const &  lhs,
shared_ctrl_handle const &  rhs 
)

Definition at line 582 of file memory.h.

583 {
584  return lhs.acb_ptr == rhs.acb_ptr;
585 }
bool CLHEP::sp::operator== ( weak_ctrl_handle const &  lhs,
weak_ctrl_handle const &  rhs 
)

Definition at line 704 of file memory.h.

705 {
706  return lhs.acb_ptr == rhs.acb_ptr;
707 }
template<typename X , typename Y , typename T >
void CLHEP::sp::sp_enable_shared_from_this ( shared_ptr< X > const *  ppx,
Y const *  py,
enable_shared_from_this< T > const *  pe 
)
inline

Definition at line 782 of file memory.h.

Referenced by CLHEP::shared_ptr< T >::shared_ptr().

786 {
787  if( pe != 0 )
788  pe->_internal_accept_owner( ppx, const_cast<Y*>( py ) );
789 }
template<typename X , typename Y , typename T >
void CLHEP::sp::sp_enable_shared_from_this ( shared_ptr< X > *  ppx,
Y const *  py,
enable_shared_from_this2< T > const *  pe 
)
inline

Definition at line 793 of file memory.h.

797 {
798  if( pe != 0 )
799  pe->_internal_accept_owner( ppx, const_cast<Y*>( py ) );
800 }
void CLHEP::sp::sp_enable_shared_from_this (   ...)
inline

Definition at line 803 of file memory.h.

804 { }