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

CLHEP::sp::weak_ctrl_handle Class Reference

#include <memory.h>

List of all members.

Public Member Functions

 weak_ctrl_handle () throw ()
 weak_ctrl_handle (shared_ctrl_handle const &) throw ()
 ~weak_ctrl_handle () throw ()
void swap (weak_ctrl_handle &) throw ()
 weak_ctrl_handle (weak_ctrl_handle const &) throw ()
weak_ctrl_handleoperator= (shared_ctrl_handle const &) throw ()
weak_ctrl_handleoperator= (weak_ctrl_handle const &) throw ()
bool empty () const throw ()
long use_count () const throw ()

Friends

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


Detailed Description

Definition at line 593 of file memory.h.


Constructor & Destructor Documentation

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

Definition at line 629 of file memory.h.

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

Definition at line 633 of file memory.h.

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

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

Definition at line 640 of file memory.h.

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

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

Definition at line 654 of file memory.h.


Member Function Documentation

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

Definition at line 692 of file memory.h.

Referenced by CLHEP::weak_ptr< P >::_empty().

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

Definition at line 677 of file memory.h.

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

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

Definition at line 662 of file memory.h.

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

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

Definition at line 647 of file memory.h.

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

Definition at line 698 of file memory.h.

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

Referenced by CLHEP::weak_ptr< P >::expired(), and CLHEP::weak_ptr< P >::use_count().


Friends And Related Function Documentation

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

Definition at line 710 of file memory.h.

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

Definition at line 704 of file memory.h.

friend class shared_ctrl_handle [friend]

Definition at line 595 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