MemMngPack::ReleaseResource_ref_count_ptr< T > Class Template Reference

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

#include <ReleaseResource_ref_count_ptr.hpp>

Inheritance diagram for MemMngPack::ReleaseResource_ref_count_ptr< T >:

List of all members.

Public Types

typedef Teuchos::RefCountPtr<
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 RefCountPtr<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::RefCountPtr<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 Thu Sep 18 12:36:18 2008 for MOOCHO (Single Doxygen Collection) by doxygen