SwapWrapper< ExpressionType > Class Template Reference

#include <Swap.h>

Inheritance diagram for SwapWrapper< ExpressionType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ei_packet_traits
< Scalar >::type 
Packet

Public Member Functions

ScalarcoeffRef (int index)
ScalarcoeffRef (int row, int col)
int cols () const
template<typename OtherDerived >
void copyCoeff (int index, const MatrixBase< OtherDerived > &other)
template<typename OtherDerived >
void copyCoeff (int row, int col, const MatrixBase< OtherDerived > &other)
template<typename OtherDerived , int StoreMode, int LoadMode>
void copyPacket (int index, const MatrixBase< OtherDerived > &other)
template<typename OtherDerived , int StoreMode, int LoadMode>
void copyPacket (int row, int col, const MatrixBase< OtherDerived > &other)
int rows () const
int stride () const
 SwapWrapper (ExpressionType &xpr)

Protected Attributes

ExpressionType & m_expression

Private Member Functions

SwapWrapperoperator= (const SwapWrapper &)

Detailed Description

template<typename ExpressionType>
class SwapWrapper< ExpressionType >

Definition at line 48 of file Swap.h.


Member Typedef Documentation

template<typename ExpressionType >
typedef ei_packet_traits<Scalar>::type SwapWrapper< ExpressionType >::Packet

Definition at line 54 of file Swap.h.


Constructor & Destructor Documentation

template<typename ExpressionType >
SwapWrapper< ExpressionType >::SwapWrapper ( ExpressionType &  xpr  )  [inline]

Definition at line 56 of file Swap.h.


Member Function Documentation

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( int  index  )  [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 67 of file Swap.h.

template<typename ExpressionType >
Scalar& SwapWrapper< ExpressionType >::coeffRef ( int  row,
int  col 
) [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 62 of file Swap.h.

template<typename ExpressionType >
int SwapWrapper< ExpressionType >::cols ( void   )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 59 of file Swap.h.

template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff ( int  index,
const MatrixBase< OtherDerived > &  other 
) [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 84 of file Swap.h.

template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff ( int  row,
int  col,
const MatrixBase< OtherDerived > &  other 
) [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 73 of file Swap.h.

template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket ( int  index,
const MatrixBase< OtherDerived > &  other 
) [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 107 of file Swap.h.

template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket ( int  row,
int  col,
const MatrixBase< OtherDerived > &  other 
) [inline]

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 94 of file Swap.h.

template<typename ExpressionType >
SwapWrapper& SwapWrapper< ExpressionType >::operator= ( const SwapWrapper< ExpressionType > &   )  [private]
template<typename ExpressionType >
int SwapWrapper< ExpressionType >::rows ( void   )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 58 of file Swap.h.

template<typename ExpressionType >
int SwapWrapper< ExpressionType >::stride ( void   )  const [inline]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the flags flags, it allows a direct access to the data of the underlying matrix.

Reimplemented from MatrixBase< SwapWrapper< ExpressionType > >.

Definition at line 60 of file Swap.h.


Member Data Documentation

template<typename ExpressionType >
ExpressionType& SwapWrapper< ExpressionType >::m_expression [protected]

Definition at line 119 of file Swap.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:32 2013