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_createNewRCPNodeRawPtrNonownedUndefined (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, class Dealloc_T>
RCPNode * Teuchos::RCP_createNewDeallocRCPNodeRawPtrUndefined (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::rcpWithDealloc (T *p, Dealloc_T dealloc, bool owns_mem)
template<class T, class Dealloc_T>
Teuchos::RCP< T > Teuchos::rcpWithDeallocUndef (T *p, Dealloc_T dealloc, bool owns_mem)
template<class T>
Teuchos::RCP< T > Teuchos::rcpFromRef (T &r)
template<class T>
Teuchos::RCP< T > Teuchos::rcpFromUndefRef (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, class ParentT>
Teuchos::RCP< T > Teuchos::rcpWithInvertedObjOwnership (const RCP< T > &child, const RCP< ParentT > &parent)
 Create a new RCP that inverts the ownership of parent and child.
template<class T>
bool Teuchos::is_null (const RCP< T > &p)
template<class T>
bool Teuchos::nonnull (const RCP< T > &p)
template<class T>
bool Teuchos::operator== (const RCP< T > &p, ENull)
template<class T>
bool Teuchos::operator!= (const RCP< T > &p, ENull)
template<class T1, class T2>
bool Teuchos::operator== (const RCP< T1 > &p1, const RCP< T2 > &p2)
template<class T1, class T2>
bool Teuchos::operator!= (const RCP< T1 > &p1, const RCP< T2 > &p2)
template<class T2, class T1>
Teuchos::RCP< T2 > Teuchos::rcp_implicit_cast (const RCP< T1 > &p1)
template<class T2, class T1>
Teuchos::RCP< T2 > Teuchos::rcp_static_cast (const RCP< T1 > &p1)
template<class T2, class T1>
Teuchos::RCP< T2 > Teuchos::rcp_const_cast (const RCP< T1 > &p1)
template<class T2, class T1>
Teuchos::RCP< T2 > Teuchos::rcp_dynamic_cast (const RCP< T1 > &p1, bool throw_on_fail)
template<class T1, class T2>
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>
const T1 & Teuchos::get_extra_data (const RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
T1 & Teuchos::get_nonconst_extra_data (RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
Teuchos::Ptr< const T1 > Teuchos::get_optional_extra_data (const RCP< T2 > &p, const std::string &name)
template<class T1, class T2>
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>
Dealloc_T & Teuchos::get_nonconst_dealloc (const RCP< T > &p)
template<class Dealloc_T, class T>
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 ParentT, class T>
Teuchos::RCP< ParentT > Teuchos::getInvertedObjOwnershipParent (const RCP< T > &invertedChild)
 Get the parent back from an inverted ownership RCP.
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 Tue Jul 13 09:23:00 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7