Teuchos - Trilinos Tools Package Version of the Day
Classes | Namespaces | 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"

Go to the source code of this file.

Classes

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

namespace  Teuchos
 

The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.


Functions

template<class T , class Dealloc_T >
TEUCHOS_DEPRECATED RCP< T > Teuchos::rcp (T *p, Dealloc_T dealloc, bool owns_mem)
 Deprecated.
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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines