QDP++
QDP::QDPExpr< T, C > Class Template Reference

Expression class for QDP. More...

#include <qdp_qdpexpr.h>

Public Types

typedef T Subtype_t
 Type of the first argument.
typedef T Expression_t
 Type of the expression.
typedef C Container_t
 Type of the container class.

Public Member Functions

 QDPExpr (const T &expr)
 Construct from an expression.
const Expression_texpression () const
 Accessor that returns the expression.

Detailed Description

template<class T, class C>
class QDP::QDPExpr< T, C >

Expression class for QDP.

Definition at line 15 of file qdp_qdpexpr.h.

Member Typedef Documentation

◆ Container_t

template<class T, class C>
typedef C QDP::QDPExpr< T, C >::Container_t

Type of the container class.

Definition at line 25 of file qdp_qdpexpr.h.

◆ Expression_t

template<class T, class C>
typedef T QDP::QDPExpr< T, C >::Expression_t

Type of the expression.

Definition at line 22 of file qdp_qdpexpr.h.

◆ Subtype_t

template<class T, class C>
typedef T QDP::QDPExpr< T, C >::Subtype_t

Type of the first argument.

Definition at line 19 of file qdp_qdpexpr.h.

Constructor & Destructor Documentation

◆ QDPExpr()

template<class T, class C>
QDP::QDPExpr< T, C >::QDPExpr ( const T & expr)
inline

Construct from an expression.

Definition at line 28 of file qdp_qdpexpr.h.

Member Function Documentation

◆ expression()

template<class T, class C>
const Expression_t & QDP::QDPExpr< T, C >::expression ( ) const
inline

Accessor that returns the expression.

Definition at line 32 of file qdp_qdpexpr.h.

Referenced by QDP::ForEach< QDPExpr< T, DTag >, FTag, CTag >::apply(), and QDP::CreateLeaf< QDPExpr< T, C > >::make().


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