OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Types | Public Member Functions | Private Attributes | List of all members
PETE_Scalar< T > Class Template Reference

#include <PETE.h>

Inheritance diagram for PETE_Scalar< T >:
Inheritance graph
[legend]
Collaboration diagram for PETE_Scalar< T >:
Collaboration graph
[legend]

Public Types

typedef PETE_Scalar< T > PETE_Expr_t
 
typedef T PETE_Return_t
 
- Public Types inherited from PETE_Expr< PETE_Scalar< T > >
typedef PETE_Scalar< T > Wrapped
 

Public Member Functions

PETE_Expr_t MakeExpression () const
 
 PETE_Scalar ()
 
 PETE_Scalar (const T &t)
 
 operator T () const
 
- Public Member Functions inherited from PETE_Expr< PETE_Scalar< T > >
PETE_Scalar< T > & PETE_unwrap ()
 
const PETE_Scalar< T > & PETE_unwrap () const
 

Private Attributes

scalar
 

Detailed Description

template<class T>
class PETE_Scalar< T >

Definition at line 142 of file PETE.h.

Member Typedef Documentation

◆ PETE_Expr_t

template<class T >
typedef PETE_Scalar<T> PETE_Scalar< T >::PETE_Expr_t

Definition at line 148 of file PETE.h.

◆ PETE_Return_t

template<class T >
typedef T PETE_Scalar< T >::PETE_Return_t

Definition at line 149 of file PETE.h.

Constructor & Destructor Documentation

◆ PETE_Scalar() [1/2]

template<class T >
PETE_Scalar< T >::PETE_Scalar ( )
inline

Definition at line 155 of file PETE.h.

◆ PETE_Scalar() [2/2]

template<class T >
PETE_Scalar< T >::PETE_Scalar ( const T &  t)
inline

Definition at line 159 of file PETE.h.

Member Function Documentation

◆ MakeExpression()

template<class T >
PETE_Expr_t PETE_Scalar< T >::MakeExpression ( ) const
inline

Definition at line 151 of file PETE.h.

◆ operator T()

template<class T >
PETE_Scalar< T >::operator T ( ) const
inline

Definition at line 162 of file PETE.h.

References PETE_Scalar< T >::scalar.

Member Data Documentation

◆ scalar

template<class T >
T PETE_Scalar< T >::scalar
private

Definition at line 166 of file PETE.h.

Referenced by PETE_Scalar< T >::operator T().


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