Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Teuchos::ArrayArg< N, T > Class Template Reference

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

#include <Teuchos_arrayArg.hpp>

Public Member Functions

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

Private Attributes

array_ [N]
 

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 178 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 181 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 184 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 187 of file Teuchos_arrayArg.hpp.

Member Data Documentation

template<int N, class T >
T Teuchos::ArrayArg< N, T >::array_[N]
private

Definition at line 190 of file Teuchos_arrayArg.hpp.


The documentation for this class was generated from the following file: