MOOCHO (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Public Attributes
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 58 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 62 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 83 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 91 of file ReleaseResource_ref_count_ptr.hpp.


Member Data Documentation

Just give public access to pointer.

Definition at line 65 of file ReleaseResource_ref_count_ptr.hpp.


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