Rosetta 3.3
Public Member Functions | Protected Member Functions | Friends
utility::pointer::ReferenceCountMI_ Class Reference

Base class for reference counted polymorphic classes. More...

#include <ReferenceCountMI_.hh>

Inheritance diagram for utility::pointer::ReferenceCountMI_:
Inheritance graph
[legend]
Collaboration diagram for utility::pointer::ReferenceCountMI_:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ReferenceCountMI_ ()
 Destructor.
Size ref_count () const
 Reference count.

Protected Member Functions

 ReferenceCountMI_ ()
 Default constructor.
 ReferenceCountMI_ (ReferenceCountMI_ const &)
 Copy constructor.
ReferenceCountMI_operator= (ReferenceCountMI_ const &)
 Copy assignment.

Friends

template<typename T >
void owning_ptr_acquire (T *)
 Add a reference to the object acquired by an owning_ptr.
template<typename T >
void owning_ptr_release (T *)
 Remove a reference from the object released by an owning_ptr.

Detailed Description

Base class for reference counted polymorphic classes.


Constructor & Destructor Documentation

utility::pointer::ReferenceCountMI_::ReferenceCountMI_ ( ) [inline, protected]

Default constructor.

utility::pointer::ReferenceCountMI_::ReferenceCountMI_ ( ReferenceCountMI_ const &  ) [inline, protected]

Copy constructor.

virtual utility::pointer::ReferenceCountMI_::~ReferenceCountMI_ ( ) [inline, virtual]

Destructor.


Member Function Documentation

ReferenceCountMI_& utility::pointer::ReferenceCountMI_::operator= ( ReferenceCountMI_ const &  ) [inline, protected]

Copy assignment.

Size utility::pointer::ReferenceCountMI_::ref_count ( ) const [inline, virtual]

Reference count.

Implements utility::pointer::ReferenceCountMI.


Friends And Related Function Documentation

template<typename T >
void owning_ptr_acquire ( T *  p) [friend]

Add a reference to the object acquired by an owning_ptr.

Reimplemented from utility::pointer::ReferenceCountMI.

template<typename T >
void owning_ptr_release ( T *  p) [friend]

Remove a reference from the object released by an owning_ptr.

Reimplemented from utility::pointer::ReferenceCountMI.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines