Teuchos Memory Management Utilities

Collaboration diagram for Teuchos Memory Management Utilities:


Classes

class  Teuchos::InvalidArrayStringRepresentation
  More...
class  Teuchos::Array< T >
 Memory-safe tempalted array class that encapsulates std::vector. More...
class  Teuchos::ArrayRCP< T >
 Array reference-counted pointer class. More...
class  Teuchos::ArrayView< T >
 Array view class. More...
class  Teuchos::ExceptionBase
 Base exception class for Teuchos. More...
class  Teuchos::NullReferenceError
 Null reference error exception class. More...
class  Teuchos::RangeError
 Range error exception class. More...
class  Teuchos::DanglingReferenceError
 Dangling reference error exception class. More...
class  Teuchos::IncompatibleIteratorsError
 Incompatiable iterators error exception class. More...
class  Teuchos::NullIteratorTraits< Iter >
 Base traits class for getting a properly initialized null pointer. More...
class  Teuchos::NullIteratorTraits< std::reverse_iterator< Iter > >
 Partial specialization for std::reverse_iterator. More...
class  Teuchos::OpaqueWrapper< Opaque >
 Base class for wrapped opaque objects. More...
class  Teuchos::TypeNameTraits< Ptr< T > >
 Traits specialization for Ptr. More...
class  Teuchos::RCP< T >
 Smart reference counting pointer class for automatic garbage collection. More...
class  Teuchos::TypeNameTraits< RCP< T > >
 Traits specialization for RCP. More...
class  Teuchos::NullIteratorTraits< RCP< T > >
 Traits specialization for RCP. 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...
class  Teuchos::RCPNode
 Node class to keep track of the delete address and the reference count for a reference-counted utility class. More...
class  Teuchos::RCPNodeTmpl< T, Dealloc_T >
 Implementation class for actually deleting the object. More...
class  Teuchos::PrintActiveRCPNodes
 Print global list on destruction. More...
class  Teuchos::Tuple< T, N >
 Statically sized simple array (tuple) class. More...

Modules

 Conversion utilities for going between Teuchos::RCP and boost::shared_ptr.
 Set of utilities for allocating temporary workspace.
 The goal of this set of utilities is to allow the user to create arrays of uninitialized or default initialized objects as automatic variables on the stack to be used for temporary workspace without requiring expensive calls opeator new or operator delete.

Enumerations

enum  Teuchos::EPrePostDestruction { Teuchos::PRE_DESTROY, Teuchos::POST_DESTROY }
 Used to specify a pre or post destruction of extra data. More...

Functions

template<typename Iter >
void Teuchos::setToNull (const Ptr< Iter > &ptr)
 Nonmember helper function to set an iterator to null!.

Detailed Description


Enumeration Type Documentation

Used to specify a pre or post destruction of extra data.

Enumerator:
PRE_DESTROY 
POST_DESTROY 

Definition at line 51 of file Teuchos_RCPNode.hpp.


Function Documentation

template<typename Iter >
void Teuchos::setToNull ( const Ptr< Iter > &  ptr  )  [inline]

Nonmember helper function to set an iterator to null!.

Definition at line 60 of file Teuchos_NullIteratorTraits.hpp.


Generated on Wed Oct 21 14:27:36 2009 for Teuchos - Trilinos Tools Package by  doxygen 1.5.9