Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MangoPtr::Ownership< OType, oshiptype > Class Template Reference

#include <Ownership.hh>

Collaboration diagram for MangoPtr::Ownership< OType, oshiptype >:

Collaboration graph
List of all members.

Detailed Description

template<typename OType, OwnershipType oshiptype>
class MangoPtr::Ownership< OType, oshiptype >

Transaction object that represents the ownership of an object on the heap.

The ownership is given by one Owned to another. The transaction is complete only if the second owner actually accepts the ownership. The transaction is possible only if the first owner wants to give away the ownership.

Oliver Schoenborn
Feb 2002

Definition at line 42 of file Ownership.hh.

Public Methods

 Ownership (const Ownership &rhs)
 Copy ownership transfer object so temporaries can make it through a chain of function calls.


class Owned
 Make Owned a friend so it can call the private constructor.

The documentation for this class was generated from the following file:
Generated on Tue Nov 12 20:44:03 2002 for Mango-ptr Library by doxygen1.2.18