Teuchos_RCP.hpp File Reference

Reference-counted pointer class and non-member templated function implementations. More...

#include "Teuchos_RCPDecl.hpp"
#include "Teuchos_Ptr.hpp"
#include "Teuchos_TestForException.hpp"
#include "Teuchos_Exceptions.hpp"
#include "Teuchos_dyn_cast.hpp"
#include "Teuchos_map.hpp"
#include "Teuchos_TypeNameTraits.hpp"

Go to the source code of this file.

Namespaces

namespace  Teuchos

Functions

template<class T>
RCPNode * Teuchos::RCP_createNewRCPNodeRawPtrNonowned (T *p)
template<class T>
RCPNode * Teuchos::RCP_createNewRCPNodeRawPtr (T *p, bool has_ownership_in)
template<class T, class Dealloc_T>
RCPNode * Teuchos::RCP_createNewDeallocRCPNodeRawPtr (T *p, Dealloc_T dealloc, bool has_ownership_in)
template<class T>
Teuchos::RCP< T > Teuchos::rcp (T *p, bool owns_mem)
template<class T, class Dealloc_T>
Teuchos::RCP< T > Teuchos::rcp (T *p, Dealloc_T dealloc, bool owns_mem)
template<class T>
Teuchos::RCP< T > Teuchos::rcpFromRef (T &r)
template<class T, class Embedded>
Teuchos::RCP< T > Teuchos::rcpWithEmbeddedObjPreDestroy (T *p, const Embedded &embedded, bool owns_mem)
template<class T, class Embedded>
Teuchos::RCP< T > Teuchos::rcpWithEmbeddedObjPostDestroy (T *p, const Embedded &embedded, bool owns_mem)
template<class T, class Embedded>
Teuchos::RCP< T > Teuchos::rcpWithEmbeddedObj (T *p, const Embedded &embedded, bool owns_mem)
template<class T>
REFCOUNTPTR_INLINE bool Teuchos::is_null (const RCP< T > &p)
template<class T>
REFCOUNTPTR_INLINE bool Teuchos::nonnull (const RCP< T > &p)
template<class T>
REFCOUNTPTR_INLINE bool Teuchos::operator== (const RCP< T > &p, ENull)
template<class T>
REFCOUNTPTR_INLINE bool Teuchos::operator!= (const RCP< T > &p, ENull)
template<class T1, class T2>
REFCOUNTPTR_INLINE bool Teuchos::operator== (const RCP< T1 > &p1, const RCP< T2 > &p2)
template<class T1, class T2>
REFCOUNTPTR_INLINE bool Teuchos::operator!= (const RCP< T1 > &p1, const RCP< T2 > &p2)
template<class T2, class T1>
REFCOUNTPTR_INLINE Teuchos::RCP<
T2 > 
Teuchos::rcp_implicit_cast (const RCP< T1 > &p1)
template<class T2, class T1>
REFCOUNTPTR_INLINE Teuchos::RCP<
T2 > 
Teuchos::rcp_static_cast (const RCP< T1 > &p1)
template<class T2, class T1>
REFCOUNTPTR_INLINE Teuchos::RCP<
T2 > 
Teuchos::rcp_const_cast (const RCP< T1 > &p1)
template<class T2, class T1>
REFCOUNTPTR_INLINE Teuchos::RCP<
T2 > 
Teuchos::rcp_dynamic_cast (const RCP< T1 > &p1, bool throw_on_fail)
template<class T1, class T2>
REFCOUNTPTR_INLINE void Teuchos::set_extra_data (const T1 &extra_data, const std::string &name, const Ptr< RCP< T2 > > &p, EPrePostDestruction destroy_when, bool force_unique)
template<class T1, class T2>
REFCOUNTPTR_INLINE const T1 & Teuchos::get_extra_data (const RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
REFCOUNTPTR_INLINE T1 & Teuchos::get_nonconst_extra_data (RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
REFCOUNTPTR_INLINE Teuchos::Ptr<
const T1 > 
Teuchos::get_optional_extra_data (const RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
REFCOUNTPTR_INLINE Teuchos::Ptr<
T1 > 
Teuchos::get_optional_nonconst_extra_data (RCP< T2 > &p, const std::string &name)
template<class Dealloc_T, class T>
const Dealloc_T & Teuchos::get_dealloc (const RCP< T > &p)
template<class Dealloc_T, class T>
REFCOUNTPTR_INLINE Dealloc_T & Teuchos::get_nonconst_dealloc (const RCP< T > &p)
template<class Dealloc_T, class T>
REFCOUNTPTR_INLINE Teuchos::Ptr<
Dealloc_T > 
Teuchos::get_optional_nonconst_dealloc (const RCP< T > &p)
template<class Dealloc_T, class T>
Teuchos::Ptr< const Dealloc_T > Teuchos::get_optional_dealloc (const RCP< T > &p)
template<class TOrig, class Embedded, class T>
const Embedded & Teuchos::getEmbeddedObj (const RCP< T > &p)
template<class TOrig, class Embedded, class T>
Embedded & Teuchos::getNonconstEmbeddedObj (const RCP< T > &p)
template<class TOrig, class Embedded, class T>
Teuchos::Ptr< const Embedded > Teuchos::getOptionalEmbeddedObj (const RCP< T > &p)
template<class TOrig, class Embedded, class T>
Teuchos::Ptr< Embedded > Teuchos::getOptionalNonconstEmbeddedObj (const RCP< T > &p)
template<class T>
std::ostream & Teuchos::operator<< (std::ostream &out, const RCP< T > &p)


Detailed Description

Reference-counted pointer class and non-member templated function implementations.

Definition in file Teuchos_RCP.hpp.


Generated on Wed May 12 21:24:42 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7