Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Teuchos::StdSharedPtrRCPDeleter< T > Class Template Reference

std::shared_ptr deleter class that wraps a Teuchos::RCP. More...

#include <Teuchos_RCPStdSharedPtrConversionsDecl.hpp>

Public Types

typedef void result_type
 
typedef T * argument_type
 

Public Member Functions

 StdSharedPtrRCPDeleter (const RCP< T > &rcp)
 
void operator() (T *x) const
 
const RCP< T > & ptr () const
 

Private Member Functions

 StdSharedPtrRCPDeleter ()
 

Private Attributes

RCP< T > rcp_
 

Detailed Description

template<class T>
class Teuchos::StdSharedPtrRCPDeleter< T >

std::shared_ptr deleter class that wraps a Teuchos::RCP.

Definition at line 63 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Typedef Documentation

template<class T >
typedef void Teuchos::StdSharedPtrRCPDeleter< T >::result_type

Definition at line 69 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

template<class T >
typedef T* Teuchos::StdSharedPtrRCPDeleter< T >::argument_type

Definition at line 71 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Constructor & Destructor Documentation

template<class T >
Teuchos::StdSharedPtrRCPDeleter< T >::StdSharedPtrRCPDeleter ( const RCP< T > &  rcp)
inline

Definition at line 67 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

template<class T >
Teuchos::StdSharedPtrRCPDeleter< T >::StdSharedPtrRCPDeleter ( )
private

Member Function Documentation

template<class T >
void Teuchos::StdSharedPtrRCPDeleter< T >::operator() ( T *  x) const
inline

Definition at line 73 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

template<class T >
const RCP<T>& Teuchos::StdSharedPtrRCPDeleter< T >::ptr ( ) const
inline

Definition at line 75 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.

Member Data Documentation

template<class T >
RCP<T> Teuchos::StdSharedPtrRCPDeleter< T >::rcp_
mutableprivate

Definition at line 77 of file Teuchos_RCPStdSharedPtrConversionsDecl.hpp.


The documentation for this class was generated from the following file: