|
aimstil
5.0.5
|
namespace for template expressions. More...
Namespaces | |
| functor | |
Classes | |
| class | FirstArgument |
| Placeholder for the first argument. More... | |
| class | SecondArgument |
| Placeholder for the second argument. More... | |
| class | TExpr |
| A wrapper class of a template expression. More... | |
| class | TExprBinaryOperator |
| Apply a binary numerical functor to two template expressions. More... | |
| class | TExprBinaryOperator_NoRes |
| class | TExprConstant |
| A template expression class for constant values. More... | |
| class | TExprCouple |
| Evaluate one expression and then the other. More... | |
| class | TExprFunctorHelper |
| class | TExprIfThen |
| If/then block using template expressions. More... | |
| class | TExprIfThenElse |
| If/then block using template expressions. More... | |
| class | TExprLValue |
| A template expression class for left-values. More... | |
| class | TExprUnaryOperator |
| Apply a unary numerical functor to a template expression. More... | |
| class | TExprValue |
| Represent a constant in template expression. More... | |
| class | ThirdArgument |
| Placeholder for the third argument. More... | |
Functions | |
| template<typename ExprIf , typename ExprThen > | |
| TExpr< TExprIfThen< ExprIf, ExprThen > > | if_then (const TExpr< ExprIf > &eIf, const TExpr< ExprThen > &eThen) |
| if/then block for expressions More... | |
| template<typename ExprIf , typename ExprThen , typename ExprElse > | |
| TExpr< TExprIfThenElse< ExprIf, ExprThen, ExprElse > > | if_then_else (const TExpr< ExprIf > &eIf, const TExpr< ExprThen > &eThen, const TExpr< ExprElse > &eElse) |
| If/then/else structure for template expressions. More... | |
| template<typename Expr > | |
| TExpr< TExprUnaryOperator< Expr, functor::Sqrt > > | sqrt (const TExpr< Expr > &e) |
| Square root. More... | |
| template<typename T > | |
| TExpr< TExprLValue< T > > | var (T &lvalue) |
| Insert a left value in a template expression. More... | |
| template<typename TFunctor > | |
| boost::enable_if< is_detemplated_functor< TFunctor >, expr::TExprFunctorHelper< TFunctor > >::type | func (TFunctor &f) |
| template<typename TFunctor > | |
| boost::disable_if< is_detemplated_functor< TFunctor >, expr::TExprFunctorHelper< expr::functor::Wrap< TFunctor > > >::type | func (TFunctor &f) |
| template<typename TTo , typename Expr > | |
| TExpr< TExprUnaryOperator< Expr, functor::Cast< TTo > > > | cast (const TExpr< Expr > &e) |
| static type casting. More... | |
| template<typename Expr1 , typename Expr2 > | |
| TExpr< TExprBinaryOperator< Expr1, Expr2, functor::CastTo > > | castTo (TExpr< Expr1 > e1, TExpr< Expr2 > e2) |
| TIL_DEFINITION_UNARY_OPERATOR_EXPRS (operator-, functor::Negate) | |
| TIL_DEFINITION_UNARY_OPERATOR_EXPRS (abs, functor::Abs) | |
| TIL_DEFINITION_UNARY_OPERATOR_EXPRS (operator*, functor::Deref) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator+, functor::Plus) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator-, functor::Minus) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator*, functor::Multiplies) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator/, functor::Divides) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator<, functor::Less) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator<=, functor::Less_Equal) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator==, functor::Equal_To) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE (operator!=, functor::Not_Equal_To) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator+, functor::Plus) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator-, functor::Minus) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator*, functor::Multiplies) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator/, functor::Divides) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator<, functor::Less) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator<=, functor::Less_Equal) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator==, functor::Equal_To) | |
| TIL_DEFINITION_BINARY_OPERATOR_EXPRS (operator!=, functor::Not_Equal_To) | |
| template<typename Expr1 , typename Expr2 > | |
| TExpr< TExprCouple< Expr1, Expr2 > > | operator, (const TExpr< Expr1 > &e1, const TExpr< Expr2 > &e2) |
| Sequential evaluation of two template expressions. More... | |
Variables | |
| const TExpr< expr::FirstArgument > | _1 = TExpr<FirstArgument>() |
| Placeholder for the first argument. More... | |
| const TExpr< expr::SecondArgument > | _2 = TExpr<SecondArgument>() |
| Placeholder for the second argument. More... | |
| const TExpr< expr::ThirdArgument > | _3 = TExpr<ThirdArgument>() |
| Placeholder for the third argument. More... | |
namespace for template expressions.
|
inline |
static type casting.
Definition at line 133 of file TExprFunctions.h.
References til::expr::TExpr< Expr >::getExpr().
|
inline |
Definition at line 143 of file TExprFunctions.h.
References til::expr::TExpr< Expr >::getExpr().
Referenced by til::detail::convert_aimsmeshTomesh1(), til::detail::convert_mesh1Toaimsmesh(), til::detail::convert_mesh_2(), til::detail::convert_mesh_3(), and til::getNeighborIndices().
| boost::enable_if< is_detemplated_functor<TFunctor>, expr::TExprFunctorHelper<TFunctor> >::type til::expr::func | ( | TFunctor & | f | ) |
Definition at line 83 of file TExprFunctions.h.
| boost::disable_if< is_detemplated_functor<TFunctor>, expr::TExprFunctorHelper<expr::functor::Wrap<TFunctor> > >::type til::expr::func | ( | TFunctor & | f | ) |
Definition at line 93 of file TExprFunctions.h.
| TExpr<TExprIfThen<ExprIf, ExprThen> > til::expr::if_then | ( | const TExpr< ExprIf > & | eIf, |
| const TExpr< ExprThen > & | eThen | ||
| ) |
if/then block for expressions
| eIf | This expression has to return a boolean |
| eThen | Executed if eIf returns true |
Definition at line 24 of file TExprFunctions.h.
References til::expr::TExpr< Expr >::getExpr().
| TExpr<TExprIfThenElse<ExprIf, ExprThen, ExprElse> > til::expr::if_then_else | ( | const TExpr< ExprIf > & | eIf, |
| const TExpr< ExprThen > & | eThen, | ||
| const TExpr< ExprElse > & | eElse | ||
| ) |
If/then/else structure for template expressions.
| eIf | This expression has to return a boolean |
| eThen | Executed if eIf returns true |
| eElse | Executed if eIf returns false |
Definition at line 36 of file TExprFunctions.h.
References til::expr::TExpr< Expr >::getExpr().
| TExpr<TExprCouple<Expr1, Expr2> > til::expr::operator, | ( | const TExpr< Expr1 > & | e1, |
| const TExpr< Expr2 > & | e2 | ||
| ) |
Sequential evaluation of two template expressions.
| e1 | This expression is evaluated first |
| e2 | This expression is evaluated last |
Definition at line 118 of file TExprOperators.h.
References til::expr::TExpr< Expr >::getExpr().
| TExpr< TExprUnaryOperator< Expr, functor::Sqrt> > til::expr::sqrt | ( | const TExpr< Expr > & | e | ) |
Square root.
Definition at line 51 of file TExprFunctions.h.
References til::expr::TExpr< Expr >::getExpr().
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator+ | , |
| functor::Plus | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator- | , |
| functor::Minus | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator* | , |
| functor::Multiplies | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator/ | , |
| functor::Divides | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator<= | , |
| functor::Less_Equal | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator | = =, |
| functor::Equal_To | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPR_VALUE | ( | operator! | , |
| functor::Not_Equal_To | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator+ | , |
| functor::Plus | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator- | , |
| functor::Minus | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator* | , |
| functor::Multiplies | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator/ | , |
| functor::Divides | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator<= | , |
| functor::Less_Equal | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator | = =, |
| functor::Equal_To | |||
| ) |
| til::expr::TIL_DEFINITION_BINARY_OPERATOR_EXPRS | ( | operator! | , |
| functor::Not_Equal_To | |||
| ) |
| til::expr::TIL_DEFINITION_UNARY_OPERATOR_EXPRS | ( | operator- | , |
| functor::Negate | |||
| ) |
| til::expr::TIL_DEFINITION_UNARY_OPERATOR_EXPRS | ( | abs | , |
| functor::Abs | |||
| ) |
| til::expr::TIL_DEFINITION_UNARY_OPERATOR_EXPRS | ( | operator* | , |
| functor::Deref | |||
| ) |
| TExpr<TExprLValue<T> > til::expr::var | ( | T & | lvalue | ) |
Insert a left value in a template expression.
Definition at line 73 of file TExprFunctions.h.
| const TExpr<expr::FirstArgument> til::expr::_1 = TExpr<FirstArgument>() |
Placeholder for the first argument.
Definition at line 205 of file TExpr.h.
Referenced by til::detail::convert_aimsmeshTomesh1(), til::detail::convert_mesh1Toaimsmesh(), til::detail::convert_mesh_2(), til::detail::convert_mesh_3(), til::getNeighborIndices(), til::LMLike< TFunctor >::operator()(), til::FixedStep< TFunctor >::operator()(), til::SmartFixedStep< TFunctor >::operator()(), til::geo::Project::PointOnLine3D< TArray, TOutputArray >::operator()(), and til::geo::Project::PointOnSegment3D< TArray, TPrecArray >::operator()().
| const TExpr<expr::SecondArgument> til::expr::_2 = TExpr<SecondArgument>() |
Placeholder for the second argument.
Definition at line 207 of file TExpr.h.
Referenced by til::detail::convert_aimsmeshTomesh1(), til::detail::convert_mesh1Toaimsmesh(), til::detail::convert_mesh_2(), til::detail::convert_mesh_3(), til::getNeighborIndices(), til::LMLike< TFunctor >::operator()(), til::FixedStep< TFunctor >::operator()(), til::SmartFixedStep< TFunctor >::operator()(), til::geo::Project::PointOnLine3D< TArray, TOutputArray >::operator()(), and til::geo::Project::PointOnSegment3D< TArray, TPrecArray >::operator()().
| const TExpr<expr::ThirdArgument> til::expr::_3 = TExpr<ThirdArgument>() |
Placeholder for the third argument.
Definition at line 209 of file TExpr.h.
Referenced by til::LMLike< TFunctor >::operator()(), til::SmartFixedStep< TFunctor >::operator()(), til::geo::Project::PointOnLine3D< TArray, TOutputArray >::operator()(), and til::geo::Project::PointOnSegment3D< TArray, TPrecArray >::operator()().