Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Enumerations | Functions
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::Ptr< T >
 Simple wrapper class for raw pointers to single objects where no persisting relationship exists. More...
 
class  Teuchos::RCP< T >
 Smart reference counting pointer class for automatic garbage collection. More...
 
struct  Teuchos::RCPComp
 Struct for comparing two RCPs. Simply compares the raw pointers contained within the RCPs. More...
 
struct  Teuchos::RCPConstComp
 Struct for comparing two RCPs. Simply compares the raw pointers contained within the RCPs. 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

 Teuchos
 

Macros

#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 >
TEUCHOS_DEPRECATED RCP< T > Teuchos::rcp (T *p, Dealloc_T dealloc, bool owns_mem)
 Deprecated. More...
 
template<class ParentT , class T >
RCP< ParentT > Teuchos::getInvertedObjOwnershipParent (const RCP< T > &invertedChild)
 Get the parent back from an inverted ownership RCP. More...
 

Detailed Description

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

Definition in file Teuchos_RCPDecl.hpp.

Macro Definition Documentation

#define REFCOUNTPTR_INLINE

Definition at line 59 of file Teuchos_RCPDecl.hpp.