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

CLHEP::sp::shared_ctrl_handle Class Reference

#include <memory.h>

List of all members.

Public Member Functions

 shared_ctrl_handle () throw ()
template<typename P>
 shared_ctrl_handle (P *)
template<typename P, typename D>
 shared_ctrl_handle (P *, D)
template<typename P, typename D, typename A>
 shared_ctrl_handle (P *, D, A)
template<typename P>
 shared_ctrl_handle (std::auto_ptr< P > &)
 ~shared_ctrl_handle () throw ()
void swap (shared_ctrl_handle &) throw ()
 shared_ctrl_handle (shared_ctrl_handle const &) throw ()
shared_ctrl_handleoperator= (shared_ctrl_handle const &) throw ()
 shared_ctrl_handle (weak_ctrl_handle const &)
 shared_ctrl_handle (weak_ctrl_handle const &, sp_nothrow_tag)
void * get_deleter (std::type_info const &) const
bool unique () const throw ()
bool empty () const throw ()
long use_count () const throw ()

Friends

class weak_ctrl_handle
bool operator== (shared_ctrl_handle const &, shared_ctrl_handle const &)
bool operator< (shared_ctrl_handle const &, shared_ctrl_handle const &)


Detailed Description

Definition at line 407 of file memory.h.


Constructor & Destructor Documentation

CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle (  )  throw () [inline]

Definition at line 456 of file memory.h.

template<typename P>
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( P *   )  [inline, explicit]

Definition at line 461 of file memory.h.

template<typename P, typename D>
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( P *  ,
D   
) [inline]

Definition at line 476 of file memory.h.

template<typename P, typename D, typename A>
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( P *  ,
D  ,
 
) [inline]

Definition at line 491 of file memory.h.

template<typename P>
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( std::auto_ptr< P > &   )  [inline, explicit]

Definition at line 515 of file memory.h.

CLHEP::sp::shared_ctrl_handle::~shared_ctrl_handle (  )  throw () [inline]

Definition at line 521 of file memory.h.

References CLHEP::sp::abstract_ctrl_block::release().

CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( shared_ctrl_handle const &   )  throw () [inline]

Definition at line 535 of file memory.h.

CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( weak_ctrl_handle const &   )  [inline, explicit]

Definition at line 715 of file memory.h.

References CLHEP::sp::abstract_ctrl_block::add_ref_lock().

CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle ( weak_ctrl_handle const &  ,
sp_nothrow_tag   
) [inline]

Definition at line 722 of file memory.h.

References CLHEP::sp::abstract_ctrl_block::add_ref_lock().


Member Function Documentation

bool CLHEP::sp::shared_ctrl_handle::empty (  )  const throw () [inline]

Definition at line 570 of file memory.h.

void * CLHEP::sp::shared_ctrl_handle::get_deleter ( std::type_info const &   )  const [inline]

Definition at line 558 of file memory.h.

References CLHEP::sp::abstract_ctrl_block::get_deleter().

Referenced by CLHEP::shared_ptr< P >::_internal_get_deleter().

shared_ctrl_handle & CLHEP::sp::shared_ctrl_handle::operator= ( shared_ctrl_handle const &   )  throw () [inline]

Definition at line 543 of file memory.h.

References acb_ptr, and CLHEP::sp::abstract_ctrl_block::add_ref().

void CLHEP::sp::shared_ctrl_handle::swap ( shared_ctrl_handle  )  throw () [inline]

Definition at line 528 of file memory.h.

bool CLHEP::sp::shared_ctrl_handle::unique (  )  const throw () [inline]

Definition at line 564 of file memory.h.

References use_count().

Referenced by CLHEP::shared_ptr< P >::unique().

long CLHEP::sp::shared_ctrl_handle::use_count (  )  const throw () [inline]

Definition at line 576 of file memory.h.

References CLHEP::sp::abstract_ctrl_block::use_count().

Referenced by unique(), and CLHEP::shared_ptr< P >::use_count().


Friends And Related Function Documentation

bool operator< ( shared_ctrl_handle const &  lhs,
shared_ctrl_handle const &  rhs 
) [friend]

Definition at line 588 of file memory.h.

bool operator== ( shared_ctrl_handle const &  lhs,
shared_ctrl_handle const &  rhs 
) [friend]

Definition at line 582 of file memory.h.

friend class weak_ctrl_handle [friend]

Definition at line 409 of file memory.h.


The documentation for this class was generated from the following file:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7