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

#include <Quaternion.hpp>

+ Inheritance diagram for CDPL::Math::RealQuaternion< T >:

Public Types

typedef T ValueType
 
typedef const T & Reference
 
typedef const T & ConstReference
 
typedef QuaternionReference< SelfTypeClosureType
 
typedef const QuaternionReference< const SelfTypeConstClosureType
 
typedef Quaternion< T > QuaternionTemporaryType
 
- Public Types inherited from CDPL::Math::QuaternionContainer< RealQuaternion< T > >
typedef RealQuaternion< T > ContainerType
 
- Public Types inherited from CDPL::Math::QuaternionExpression< E >
typedef E ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< E >
typedef E ExpressionType
 

Public Member Functions

 RealQuaternion ()
 
 RealQuaternion (const ValueType &r)
 
template<typename T1 >
 RealQuaternion (const RealQuaternion< T1 > &q)
 
ConstReference getC1 () const
 
ConstReference getC2 () const
 
ConstReference getC3 () const
 
ConstReference getC4 () const
 
 operator ValueType () const
 
RealQuaternionoperator= (const RealQuaternion &q)
 
template<typename T1 >
RealQuaternionoperator= (const RealQuaternion< T1 > &q)
 
template<typename T1 >
std::enable_if< IsScalar< T1 >::value, RealQuaternion >::type & operator= (const T1 &t)
 
template<typename T1 >
RealQuaternionoperator+= (const RealQuaternion< T1 > &q)
 
template<typename T1 >
std::enable_if< IsScalar< T1 >::value, RealQuaternion >::type & operator+= (const T1 &t)
 
template<typename T1 >
RealQuaternionoperator-= (const RealQuaternion< T1 > &q)
 
template<typename T1 >
std::enable_if< IsScalar< T1 >::value, RealQuaternion >::type & operator-= (const T1 &t)
 
template<typename T1 >
RealQuaternionoperator*= (const RealQuaternion< T1 > &q)
 
template<typename T1 >
std::enable_if< IsScalar< T1 >::value, RealQuaternion >::type & operator*= (const T1 &t)
 
template<typename T1 >
RealQuaternionoperator/= (const RealQuaternion< T1 > &q)
 
template<typename T1 >
std::enable_if< IsScalar< T1 >::value, RealQuaternion >::type & operator/= (const T1 &t)
 
template<typename T1 >
RealQuaternionassign (const RealQuaternion< T1 > &q)
 
template<typename T1 >
RealQuaternionplusAssign (const RealQuaternion< T1 > &q)
 
template<typename T1 >
RealQuaternionminusAssign (const RealQuaternion< T1 > &q)
 
void swap (RealQuaternion &q)
 
- Public Member Functions inherited from CDPL::Math::QuaternionContainer< RealQuaternion< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::QuaternionExpression< E >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (RealQuaternion &q1, RealQuaternion &q2)
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::QuaternionContainer< RealQuaternion< T > >
 QuaternionContainer ()
 
 ~QuaternionContainer ()
 
- Protected Member Functions inherited from CDPL::Math::QuaternionExpression< E >
 QuaternionExpression ()
 
 ~QuaternionExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< E >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::RealQuaternion< T >::ValueType

◆ Reference

template<typename T >
typedef const T& CDPL::Math::RealQuaternion< T >::Reference

◆ ConstReference

template<typename T >
typedef const T& CDPL::Math::RealQuaternion< T >::ConstReference

◆ ClosureType

◆ ConstClosureType

template<typename T >
typedef const QuaternionReference<const SelfType> CDPL::Math::RealQuaternion< T >::ConstClosureType

◆ QuaternionTemporaryType

template<typename T >
typedef Quaternion<T> CDPL::Math::RealQuaternion< T >::QuaternionTemporaryType

Constructor & Destructor Documentation

◆ RealQuaternion() [1/3]

template<typename T >
CDPL::Math::RealQuaternion< T >::RealQuaternion ( )
inline

◆ RealQuaternion() [2/3]

template<typename T >
CDPL::Math::RealQuaternion< T >::RealQuaternion ( const ValueType r)
inline

◆ RealQuaternion() [3/3]

template<typename T >
template<typename T1 >
CDPL::Math::RealQuaternion< T >::RealQuaternion ( const RealQuaternion< T1 > &  q)
inline

Member Function Documentation

◆ getC1()

template<typename T >
ConstReference CDPL::Math::RealQuaternion< T >::getC1 ( ) const
inline

◆ getC2()

template<typename T >
ConstReference CDPL::Math::RealQuaternion< T >::getC2 ( ) const
inline

◆ getC3()

template<typename T >
ConstReference CDPL::Math::RealQuaternion< T >::getC3 ( ) const
inline

◆ getC4()

template<typename T >
ConstReference CDPL::Math::RealQuaternion< T >::getC4 ( ) const
inline

◆ operator ValueType()

template<typename T >
CDPL::Math::RealQuaternion< T >::operator ValueType ( ) const
inline

◆ operator=() [1/3]

template<typename T >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator= ( const RealQuaternion< T > &  q)
inline

◆ operator=() [2/3]

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator= ( const RealQuaternion< T1 > &  q)
inline

◆ operator=() [3/3]

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

◆ operator+=() [1/2]

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator+= ( const RealQuaternion< T1 > &  q)
inline

◆ operator+=() [2/2]

template<typename T >
template<typename T1 >
std::enable_if<IsScalar<T1>::value, RealQuaternion>::type& CDPL::Math::RealQuaternion< T >::operator+= ( const T1 &  t)
inline

◆ operator-=() [1/2]

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator-= ( const RealQuaternion< T1 > &  q)
inline

◆ operator-=() [2/2]

template<typename T >
template<typename T1 >
std::enable_if<IsScalar<T1>::value, RealQuaternion>::type& CDPL::Math::RealQuaternion< T >::operator-= ( const T1 &  t)
inline

◆ operator*=() [1/2]

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator*= ( const RealQuaternion< T1 > &  q)
inline

◆ operator*=() [2/2]

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

◆ operator/=() [1/2]

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::operator/= ( const RealQuaternion< T1 > &  q)
inline

◆ operator/=() [2/2]

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

◆ assign()

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::assign ( const RealQuaternion< T1 > &  q)
inline

◆ plusAssign()

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::plusAssign ( const RealQuaternion< T1 > &  q)
inline

◆ minusAssign()

template<typename T >
template<typename T1 >
RealQuaternion& CDPL::Math::RealQuaternion< T >::minusAssign ( const RealQuaternion< T1 > &  q)
inline

◆ swap()

template<typename T >
void CDPL::Math::RealQuaternion< T >::swap ( RealQuaternion< T > &  q)
inline

Friends And Related Function Documentation

◆ swap

template<typename T >
void swap ( RealQuaternion< T > &  q1,
RealQuaternion< T > &  q2 
)
friend

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