MemMngPack::ReleaseResource_ref_count_ptr< T > Class Template Reference

Template class that implements ReleaseResource interface for a RCP<T> object. More...

#include <ReleaseResource_ref_count_ptr.hpp>

Inheritance diagram for MemMngPack::ReleaseResource_ref_count_ptr< T >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Teuchos::RCP< T > ptr_t
 

Public Member Functions

 ReleaseResource_ref_count_ptr (const ptr_t &ptr)
 Construct from a pointer.
bool resource_is_bound () const
 

Public Attributes

ptr_t ptr
 Just give public access to pointer.

Detailed Description

template<class T>
class MemMngPack::ReleaseResource_ref_count_ptr< T >

Template class that implements ReleaseResource interface for a RCP<T> object.

Note that ~ReleaseResource_ref_count_ptr() does not need to be implemented since the compiler generated version will already be correct.

Definition at line 45 of file ReleaseResource_ref_count_ptr.hpp.


Member Typedef Documentation

template<class T>
typedef Teuchos::RCP<T> MemMngPack::ReleaseResource_ref_count_ptr< T >::ptr_t

Definition at line 49 of file ReleaseResource_ref_count_ptr.hpp.


Constructor & Destructor Documentation

template<class T>
MemMngPack::ReleaseResource_ref_count_ptr< T >::ReleaseResource_ref_count_ptr ( const ptr_t ptr  )  [inline]

Construct from a pointer.

Definition at line 70 of file ReleaseResource_ref_count_ptr.hpp.


Member Function Documentation

template<class T>
bool MemMngPack::ReleaseResource_ref_count_ptr< T >::resource_is_bound (  )  const [virtual]

Implements MemMngPack::ReleaseResource.

Definition at line 78 of file ReleaseResource_ref_count_ptr.hpp.


Member Data Documentation

template<class T>
ptr_t MemMngPack::ReleaseResource_ref_count_ptr< T >::ptr

Just give public access to pointer.

Definition at line 52 of file ReleaseResource_ref_count_ptr.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:50:26 2010 for MoochoPack: Miscellaneous Utilities for MOOCHO by  doxygen 1.4.7