Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Public Member Functions | Friends | List of all members
CDPL::Math::HomogenousCoordsAdapter< V > Class Template Reference

#include <VectorAdapter.hpp>

+ Inheritance diagram for CDPL::Math::HomogenousCoordsAdapter< V >:

Public Types

typedef V VectorType
 
typedef V::SizeType SizeType
 
typedef V::DifferenceType DifferenceType
 
typedef V::ValueType ValueType
 
typedef V::ConstReference ConstReference
 
typedef std::conditional< std::is_const< V >::value, typename V::ConstReference, typename V::Reference >::type Reference
 
typedef std::conditional< std::is_const< V >::value, typename V::ConstClosureType, typename V::ClosureType >::type VectorClosureType
 
typedef const SelfType ConstClosureType
 
typedef SelfType ClosureType
 
- Public Types inherited from CDPL::Math::VectorExpression< HomogenousCoordsAdapter< V > >
typedef HomogenousCoordsAdapter< VExpressionType
 
- Public Types inherited from CDPL::Math::Expression< HomogenousCoordsAdapter< V > >
typedef HomogenousCoordsAdapter< VExpressionType
 

Public Member Functions

 HomogenousCoordsAdapter (VectorType &v)
 
Reference operator() (SizeType i)
 
ConstReference operator() (SizeType i) const
 
Reference operator[] (SizeType i)
 
ConstReference operator[] (SizeType i) const
 
SizeType getSize () const
 
bool isEmpty () const
 
VectorClosureTypegetData ()
 
const VectorClosureTypegetData () const
 
HomogenousCoordsAdapteroperator= (const HomogenousCoordsAdapter &va)
 
template<typename E >
HomogenousCoordsAdapteroperator= (const VectorExpression< E > &e)
 
template<typename E >
HomogenousCoordsAdapteroperator+= (const VectorExpression< E > &e)
 
template<typename E >
HomogenousCoordsAdapteroperator-= (const VectorExpression< E > &e)
 
template<typename T >
std::enable_if< IsScalar< T >::value, HomogenousCoordsAdapter >::type & operator*= (const T &t)
 
template<typename T >
std::enable_if< IsScalar< T >::value, HomogenousCoordsAdapter >::type & operator/= (const T &t)
 
template<typename E >
HomogenousCoordsAdapterassign (const VectorExpression< E > &e)
 
template<typename E >
HomogenousCoordsAdapterplusAssign (const VectorExpression< E > &e)
 
template<typename E >
HomogenousCoordsAdapterminusAssign (const VectorExpression< E > &e)
 
void swap (HomogenousCoordsAdapter &va)
 
- Public Member Functions inherited from CDPL::Math::VectorExpression< HomogenousCoordsAdapter< V > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (HomogenousCoordsAdapter &va1, HomogenousCoordsAdapter &va2)
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::VectorExpression< HomogenousCoordsAdapter< V > >
 VectorExpression ()
 
 ~VectorExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< HomogenousCoordsAdapter< V > >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ VectorType

template<typename V >
typedef V CDPL::Math::HomogenousCoordsAdapter< V >::VectorType

◆ SizeType

template<typename V >
typedef V::SizeType CDPL::Math::HomogenousCoordsAdapter< V >::SizeType

◆ DifferenceType

template<typename V >
typedef V::DifferenceType CDPL::Math::HomogenousCoordsAdapter< V >::DifferenceType

◆ ValueType

template<typename V >
typedef V::ValueType CDPL::Math::HomogenousCoordsAdapter< V >::ValueType

◆ ConstReference

template<typename V >
typedef V::ConstReference CDPL::Math::HomogenousCoordsAdapter< V >::ConstReference

◆ Reference

template<typename V >
typedef std::conditional<std::is_const<V>::value, typename V::ConstReference, typename V::Reference>::type CDPL::Math::HomogenousCoordsAdapter< V >::Reference

◆ VectorClosureType

template<typename V >
typedef std::conditional<std::is_const<V>::value, typename V::ConstClosureType, typename V::ClosureType>::type CDPL::Math::HomogenousCoordsAdapter< V >::VectorClosureType

◆ ConstClosureType

template<typename V >
typedef const SelfType CDPL::Math::HomogenousCoordsAdapter< V >::ConstClosureType

◆ ClosureType

template<typename V >
typedef SelfType CDPL::Math::HomogenousCoordsAdapter< V >::ClosureType

Constructor & Destructor Documentation

◆ HomogenousCoordsAdapter()

template<typename V >
CDPL::Math::HomogenousCoordsAdapter< V >::HomogenousCoordsAdapter ( VectorType v)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename V >
Reference CDPL::Math::HomogenousCoordsAdapter< V >::operator() ( SizeType  i)
inline

◆ operator()() [2/2]

template<typename V >
ConstReference CDPL::Math::HomogenousCoordsAdapter< V >::operator() ( SizeType  i) const
inline

◆ operator[]() [1/2]

template<typename V >
Reference CDPL::Math::HomogenousCoordsAdapter< V >::operator[] ( SizeType  i)
inline

◆ operator[]() [2/2]

template<typename V >
ConstReference CDPL::Math::HomogenousCoordsAdapter< V >::operator[] ( SizeType  i) const
inline

◆ getSize()

template<typename V >
SizeType CDPL::Math::HomogenousCoordsAdapter< V >::getSize ( ) const
inline

◆ isEmpty()

template<typename V >
bool CDPL::Math::HomogenousCoordsAdapter< V >::isEmpty ( ) const
inline

◆ getData() [1/2]

template<typename V >
VectorClosureType& CDPL::Math::HomogenousCoordsAdapter< V >::getData ( )
inline

◆ getData() [2/2]

template<typename V >
const VectorClosureType& CDPL::Math::HomogenousCoordsAdapter< V >::getData ( ) const
inline

◆ operator=() [1/2]

template<typename V >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::operator= ( const HomogenousCoordsAdapter< V > &  va)
inline

◆ operator=() [2/2]

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::operator= ( const VectorExpression< E > &  e)
inline

◆ operator+=()

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::operator+= ( const VectorExpression< E > &  e)
inline

◆ operator-=()

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::operator-= ( const VectorExpression< E > &  e)
inline

◆ operator*=()

template<typename V >
template<typename T >
std::enable_if<IsScalar<T>::value, HomogenousCoordsAdapter>::type& CDPL::Math::HomogenousCoordsAdapter< V >::operator*= ( const T &  t)
inline

◆ operator/=()

template<typename V >
template<typename T >
std::enable_if<IsScalar<T>::value, HomogenousCoordsAdapter>::type& CDPL::Math::HomogenousCoordsAdapter< V >::operator/= ( const T &  t)
inline

◆ assign()

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::assign ( const VectorExpression< E > &  e)
inline

◆ plusAssign()

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::plusAssign ( const VectorExpression< E > &  e)
inline

◆ minusAssign()

template<typename V >
template<typename E >
HomogenousCoordsAdapter& CDPL::Math::HomogenousCoordsAdapter< V >::minusAssign ( const VectorExpression< E > &  e)
inline

◆ swap()

template<typename V >
void CDPL::Math::HomogenousCoordsAdapter< V >::swap ( HomogenousCoordsAdapter< V > &  va)
inline

Friends And Related Function Documentation

◆ swap

template<typename V >
void swap ( HomogenousCoordsAdapter< V > &  va1,
HomogenousCoordsAdapter< V > &  va2 
)
friend

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