Teuchos::ArrayArg< N, T > Class Template Reference
[Utility functions for passing arrays into argument lists.]

Utility class that allows arrays to be passed into argument list. More...

#include <Teuchos_arrayArg.hpp>

List of all members.

Public Member Functions

 ArrayArg (T array[])
 Basic constructor taking a copy of the array of length N.
T * operator() ()
 Return a const pointer to the internal array.
 operator T * ()
 Return a const pointer to the internal array.

Detailed Description

template<int N, class T>
class Teuchos::ArrayArg< N, T >

Utility class that allows arrays to be passed into argument list.

Definition at line 166 of file Teuchos_arrayArg.hpp.


Constructor & Destructor Documentation

template<int N, class T >
Teuchos::ArrayArg< N, T >::ArrayArg ( array[]  )  [inline]

Basic constructor taking a copy of the array of length N.

Definition at line 169 of file Teuchos_arrayArg.hpp.


Member Function Documentation

template<int N, class T >
T* Teuchos::ArrayArg< N, T >::operator() (  )  [inline]

Return a const pointer to the internal array.

Definition at line 172 of file Teuchos_arrayArg.hpp.

template<int N, class T >
Teuchos::ArrayArg< N, T >::operator T * (  )  [inline]

Return a const pointer to the internal array.

Definition at line 175 of file Teuchos_arrayArg.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:45 2011 for Teuchos - Trilinos Tools Package by  doxygen 1.6.3