Teuchos_RCPDecl.hpp File Reference

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

#include "Teuchos_RCPNode.hpp"
#include "Teuchos_ENull.hpp"
#include "Teuchos_NullIteratorTraits.hpp"
Include dependency graph for Teuchos_RCPDecl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::RCP< T >
 Smart reference counting pointer class for automatic garbage collection. More...
class  Teuchos::NullIteratorTraits< RCP< T > >
 Traits specialization for RCP. More...
class  Teuchos::DeallocNull< T >
 Policy class for deallocator for non-owned RCPs. More...
class  Teuchos::DeallocDelete< T >
 Policy class for deallocator that uses delete to delete a pointer which is used by RCP. More...
class  Teuchos::DeallocArrayDelete< T >
 Deallocator class that uses delete [] to delete memory allocated uisng new [] More...
class  Teuchos::DeallocFunctorDelete< T, DeleteFunctor >
 Deallocator subclass that Allows any functor object (including a function pointer) to be used to free an object. More...
class  Teuchos::DeallocFunctorHandleDelete< T, DeleteHandleFunctor >
 Deallocator subclass that Allows any functor object (including a function pointer) to be used to free a handle (i.e. pointer to pointer) to an object. More...
class  Teuchos::EmbeddedObjDealloc< T, Embedded, Dealloc >
 A deallocator class that wraps a simple value object and delegates to another deallocator object. More...

Namespaces

namespace  Teuchos

Defines

#define REFCOUNTPTR_INLINE

Enumerations

enum  Teuchos::ERCPWeakNoDealloc { Teuchos::RCP_WEAK_NO_DEALLOC }
enum  Teuchos::ERCPUndefinedWeakNoDealloc { Teuchos::RCP_UNDEFINED_WEAK_NO_DEALLOC }
enum  Teuchos::ERCPUndefinedWithDealloc { Teuchos::RCP_UNDEFINED_WITH_DEALLOC }

Functions

template<class T , class Dealloc_T >
RCP< T > Teuchos::rcp (T *p, Dealloc_T dealloc, bool owns_mem)
 Deprecated.
template<class T , class Embedded >
RCP< T > Teuchos::rcpWithEmbeddedObjPreDestroy (T *p, const Embedded &embedded, bool owns_mem=true)
template<class T , class Embedded >
RCP< T > Teuchos::rcpWithEmbeddedObjPostDestroy (T *p, const Embedded &embedded, bool owns_mem=true)
template<class T , class Embedded >
RCP< T > Teuchos::rcpWithEmbeddedObj (T *p, const Embedded &embedded, bool owns_mem=true)
template<class T , class ParentT >
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 ParentT , class T >
RCP< ParentT > Teuchos::getInvertedObjOwnershipParent (const RCP< T > &invertedChild)
 Get the parent back from an inverted ownership RCP.

Detailed Description

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

Definition in file Teuchos_RCPDecl.hpp.


Define Documentation

#define REFCOUNTPTR_INLINE

Definition at line 46 of file Teuchos_RCPDecl.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:34 2011 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.3