src/Index/SIndexAssign.h File Reference

#include "PETE/IpplExpressions.h"
#include "Index/SIndexAssign.cpp"

Include dependency graph for SIndexAssign.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SIExprTag< IsExpr >

Defines

#define SI_ASSIGNMENT_FUNCTIONS(FUNC, OP)
#define SI_ASSIGNMENT_OPERATORS(FUNC, OP)

Functions

template<unsigned Dim, class RHS, class OP, bool IsExpr>
void assign (SIndex< Dim > &, RHS, OP, const NDIndex< Dim > &, SIExprTag< IsExpr >)


Define Documentation

#define SI_ASSIGNMENT_FUNCTIONS FUNC,
OP   ) 
 

Value:

\
template<unsigned Dim, class RHS>                               \
inline void                                                     \
FUNC(SIndex<Dim>& lhs, const PETE_Expr<RHS>& rhs)               \
{                                                               \
  assign(lhs, rhs.PETE_unwrap().MakeExpression(), OP(),         \
         lhs.getFieldLayout().getDomain(), SIExprTag<false>()); \
}                                                               \
                                                                \
template<unsigned Dim, class RHS>                               \
inline void                                                     \
FUNC(SIndex<Dim>& lhs, const PETE_Expr<RHS>& rhs,               \
     const NDIndex<Dim>& domain)                                \
{                                                               \
  assign(lhs, rhs.PETE_unwrap().MakeExpression(), OP(),         \
         domain, SIExprTag<true>());                            \
}

Definition at line 39 of file SIndexAssign.h.

#define SI_ASSIGNMENT_OPERATORS FUNC,
OP   ) 
 

Value:

\
template<unsigned Dim, class RHS>                               \
inline void                                                     \
FUNC(SIndex<Dim>& lhs, const PETE_Expr<RHS>& rhs)               \
{                                                               \
  assign(lhs, rhs.PETE_unwrap().MakeExpression(), OP(),         \
         lhs.getFieldLayout().getDomain(), SIExprTag<false>()); \
}

Definition at line 58 of file SIndexAssign.h.


Function Documentation

template<unsigned Dim, class RHS, class OP, bool IsExpr>
void assign SIndex< Dim > &  ,
RHS  ,
OP  ,
const NDIndex< Dim > &  ,
SIExprTag< IsExpr > 
 


Generated on Mon Jan 16 13:55:19 2006 for IPPL by  doxygen 1.4.6