Teuchos::DeallocBoostSharedPtr< T > Class Template Reference
[Conversion utilities for going between Teuchos::RCP and boost::shared_ptr.]

Teuchos::RCP Deallocator class that wraps a boost::shared_ptr More...

#include <Teuchos_RCPBoostSharedPtrConversionsDecl.hpp>

List of all members.

Public Types

typedef T ptr_t
 

Public Member Functions

 DeallocBoostSharedPtr (const boost::shared_ptr< T > &sptr)
 
void free (T *ptr_in) const
 
const boost::shared_ptr< T > & ptr () const
 

Private Member Functions

 DeallocBoostSharedPtr ()

Private Attributes

boost::shared_ptr< T > sptr_

Detailed Description

template<class T>
class Teuchos::DeallocBoostSharedPtr< T >

Teuchos::RCP Deallocator class that wraps a boost::shared_ptr

Definition at line 59 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.


Member Typedef Documentation

template<class T>
typedef T Teuchos::DeallocBoostSharedPtr< T >::ptr_t

Definition at line 65 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.


Constructor & Destructor Documentation

template<class T>
Teuchos::DeallocBoostSharedPtr< T >::DeallocBoostSharedPtr ( const boost::shared_ptr< T > &  sptr  )  [inline]

Definition at line 63 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.

template<class T>
Teuchos::DeallocBoostSharedPtr< T >::DeallocBoostSharedPtr (  )  [private]

Member Function Documentation

template<class T>
void Teuchos::DeallocBoostSharedPtr< T >::free ( T *  ptr_in  )  const [inline]

Definition at line 67 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.

template<class T>
const boost::shared_ptr<T>& Teuchos::DeallocBoostSharedPtr< T >::ptr (  )  const [inline]

Definition at line 69 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.


Member Data Documentation

template<class T>
boost::shared_ptr<T> Teuchos::DeallocBoostSharedPtr< T >::sptr_ [mutable, private]

Definition at line 71 of file Teuchos_RCPBoostSharedPtrConversionsDecl.hpp.


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

Generated on Tue Oct 20 10:14:05 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1