Unary vector expression. More...
#include <VecExprMeta.h>
Public Types | |
typedef EXP1_T::DataType | DataType |
Public Member Functions | |
VecUnaryExpr (const EXP1_T &e1) | |
DataType | operator[] (const unsigned i) const |
Public Attributes | |
ExprTraits< EXP1_T >::ExprRef | Exp1 |
Unary vector expression.
Holds the vector expression and unary operation to apply to it.
Definition at line 99 of file VecExprMeta.h.
typedef EXP1_T::DataType gmtl::meta::VecUnaryExpr< EXP1_T, OP >::DataType |
Definition at line 101 of file VecExprMeta.h.
gmtl::meta::VecUnaryExpr< EXP1_T, OP >::VecUnaryExpr | ( | const EXP1_T & | e1 | ) | [inline] |
Definition at line 105 of file VecExprMeta.h.
: Exp1(e1) {;}
DataType gmtl::meta::VecUnaryExpr< EXP1_T, OP >::operator[] | ( | const unsigned | i | ) | const [inline] |
Definition at line 106 of file VecExprMeta.h.
{ return OP::eval(Exp1[i]); }
ExprTraits<EXP1_T>::ExprRef gmtl::meta::VecUnaryExpr< EXP1_T, OP >::Exp1 |
Definition at line 103 of file VecExprMeta.h.