CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <memory.h>
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_handle & | operator= (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 &) |
Definition at line 407 of file memory.h.
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | ) | throw () [inline] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | P * | ) | [inline, explicit] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | P * | , | |
D | ||||
) | [inline] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | P * | , | |
D | , | |||
A | ||||
) | [inline] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | std::auto_ptr< P > & | ) | [inline, explicit] |
CLHEP::sp::shared_ctrl_handle::~shared_ctrl_handle | ( | ) | throw () [inline] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | shared_ctrl_handle const & | ) | throw () [inline] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | weak_ctrl_handle const & | ) | [inline, explicit] |
CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle | ( | weak_ctrl_handle const & | , | |
sp_nothrow_tag | ||||
) | [inline] |
bool CLHEP::sp::shared_ctrl_handle::empty | ( | ) | const throw () [inline] |
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] |
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().
bool operator< | ( | shared_ctrl_handle const & | lhs, | |
shared_ctrl_handle const & | rhs | |||
) | [friend] |
bool operator== | ( | shared_ctrl_handle const & | lhs, | |
shared_ctrl_handle const & | rhs | |||
) | [friend] |
friend class weak_ctrl_handle [friend] |