Public Types | Public Member Functions | Protected Attributes

TranspositionsWrapper< _IndicesType > Class Template Reference

#include <Transpositions.h>

Inheritance diagram for TranspositionsWrapper< _IndicesType >:
TranspositionsBase< TranspositionsWrapper< _IndicesType > >

List of all members.

Public Types

typedef TranspositionsBase
< TranspositionsWrapper
Base
typedef Traits::IndicesType IndicesType
typedef IndicesType::Scalar Index

Public Member Functions

 TranspositionsWrapper (IndicesType &indices)
template<typename OtherDerived >
TranspositionsWrapperoperator= (const TranspositionsBase< OtherDerived > &other)
TranspositionsWrapperoperator= (const TranspositionsWrapper &other)
const IndicesTypeindices () const
IndicesTypeindices ()

Protected Attributes

const IndicesType::Nested m_indices

template<typename _IndicesType>
class TranspositionsWrapper< _IndicesType >


Member Typedef Documentation

template<typename _IndicesType >
typedef TranspositionsBase<TranspositionsWrapper> TranspositionsWrapper< _IndicesType >::Base
template<typename _IndicesType >
typedef IndicesType::Scalar TranspositionsWrapper< _IndicesType >::Index
template<typename _IndicesType >
typedef Traits::IndicesType TranspositionsWrapper< _IndicesType >::IndicesType

Constructor & Destructor Documentation

template<typename _IndicesType >
TranspositionsWrapper< _IndicesType >::TranspositionsWrapper ( IndicesType indices  )  [inline]

Member Function Documentation

template<typename _IndicesType >
const IndicesType& TranspositionsWrapper< _IndicesType >::indices (  )  const [inline]
template<typename _IndicesType >
IndicesType& TranspositionsWrapper< _IndicesType >::indices (  )  [inline]
Returns:
a reference to the stored array representing the transpositions.

Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.

template<typename _IndicesType >
template<typename OtherDerived >
TranspositionsWrapper& TranspositionsWrapper< _IndicesType >::operator= ( const TranspositionsBase< OtherDerived > &  other  )  [inline]

Copies the other transpositions into *this

Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.

template<typename _IndicesType >
TranspositionsWrapper& TranspositionsWrapper< _IndicesType >::operator= ( const TranspositionsWrapper< _IndicesType > &  other  )  [inline]

This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.


Member Data Documentation

template<typename _IndicesType >
const IndicesType::Nested TranspositionsWrapper< _IndicesType >::m_indices [protected]

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