Teuchos_ArrayConversions.hpp File Reference

Templated conversions between Array<RCP<T> > and ArrayView<Ptr<T> >. More...

#include "Teuchos_Ptr.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_Array.hpp"
#include "Teuchos_Assert.hpp"
Include dependency graph for Teuchos_ArrayConversions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Teuchos

Functions

template<class ArrayPtrT_in , class T_out >
void Teuchos::arrayViewPtrConv (const ArrayPtrT_in &a_in, const ArrayView< Ptr< T_out > > &a_out)
 Utility function to convert from an an input Array[View,RCP]<[const] PTR<T_in> > object to an output ArrayView<Ptr<T_out> > object.
template<class ArrayPtrT_in , class T_out >
void Teuchos::arrayViewRcpConv (const ArrayPtrT_in &a_in, const ArrayView< RCP< T_out > > &a_out)
 Utility function to convert from an input Array[View,RCP]<[const] RCP<T_in> > object to an output ArrayView<RCP<T_out> > object.
template<class T_out , class ArrayPtrT_in >
Array< Ptr< T_out > > Teuchos::arrayPtrConv (const ArrayPtrT_in &a_in)
 Utility function to convert an Array[View,RCP]<[const] PTR<T_in> > object to an Array<Ptr<T_out> > object.
template<class T_out , class ArrayPtrT_in >
Array< RCP< T_out > > Teuchos::arrayRcpConv (const ArrayPtrT_in &a_in)
 Utility function to convert any Array[View,RCP]<[const] RCP<T_in> > object to an Array<RCP<T_out> > object.
template<class T >
ArrayView< const Ptr< const T > > Teuchos::arrayConstPtrConstCast (const ArrayView< const Ptr< T > > &a_in)
 Utility function that does a reinterpret case to convert an ArrayView<const Ptr<T> > object to an ArrayView<const Ptr<const T> > object.
template<class T >
ArrayView< const RCP< const T > > Teuchos::arrayConstRcpConstCast (const ArrayView< const RCP< T > > &a_in)
 Utility function that does a reinterpret case to convert an ArrayView<const RCP<T> > object to an ArrayView<const RCP<const T> > object.

Detailed Description

Templated conversions between Array<RCP<T> > and ArrayView<Ptr<T> >.

Definition in file Teuchos_ArrayConversions.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:14:01 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1