OSVR-Core
Public Member Functions | Protected Attributes | List of all members
Eigen::NoAlias< ExpressionType, StorageBase > Class Template Reference

Pseudo expression providing an operator = assuming no aliasing. More...

#include <NoAlias.h>

Public Member Functions

 NoAlias (ExpressionType &expression)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType & operator= (const StorageBase< OtherDerived > &other)
 Behaves like MatrixBase::lazyAssign(other) More...
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType & operator+= (const StorageBase< OtherDerived > &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType & operator-= (const StorageBase< OtherDerived > &other)
 
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionType & operator+= (const ProductBase< ProductDerived, Lhs, Rhs > &other)
 
template<typename ProductDerived , typename Lhs , typename Rhs >
EIGEN_STRONG_INLINE ExpressionType & operator-= (const ProductBase< ProductDerived, Lhs, Rhs > &other)
 
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionType & operator+= (const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &other)
 
template<typename Lhs , typename Rhs , int NestingFlags>
EIGEN_STRONG_INLINE ExpressionType & operator-= (const CoeffBasedProduct< Lhs, Rhs, NestingFlags > &other)
 
template<typename OtherDerived >
ExpressionType & operator= (const ReturnByValue< OtherDerived > &func)
 
ExpressionType & expression () const
 

Protected Attributes

ExpressionType & m_expression
 

Detailed Description

template<typename ExpressionType, template< typename > class StorageBase>
class Eigen::NoAlias< ExpressionType, StorageBase >

Pseudo expression providing an operator = assuming no aliasing.

Parameters
ExpressionTypethe type of the object on which to do the lazy assignment

This class represents an expression with special assignment operators assuming no aliasing between the target expression and the source expression. More precisely it alloas to bypass the EvalBeforeAssignBit flag of the source expression. It is the return type of MatrixBase::noalias() and most of the time this is the only way it is used.

See also
MatrixBase::noalias()

Member Function Documentation

§ operator+=()

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator+= ( const StorageBase< OtherDerived > &  other)
inline
See also
MatrixBase::operator+=

§ operator-=()

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator-= ( const StorageBase< OtherDerived > &  other)
inline
See also
MatrixBase::operator-=

§ operator=()

template<typename ExpressionType, template< typename > class StorageBase>
template<typename OtherDerived >
EIGEN_STRONG_INLINE ExpressionType& Eigen::NoAlias< ExpressionType, StorageBase >::operator= ( const StorageBase< OtherDerived > &  other)
inline

Behaves like MatrixBase::lazyAssign(other)

See also
MatrixBase::lazyAssign()

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