Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
CDPL::Math::QuaternionContainer< C > Class Template Reference

Refinement of Math::QuaternionExpression marking the derived type as a concrete (writable) quaternion container. More...

#include <Expression.hpp>

+ Inheritance diagram for CDPL::Math::QuaternionContainer< C >:

Public Types

typedef C ContainerType
 The derived quaternion container type. More...
 
- Public Types inherited from CDPL::Math::QuaternionExpression< C >
typedef C ExpressionType
 The derived quaternion expression type. More...
 
- Public Types inherited from CDPL::Math::Expression< E >
typedef E ExpressionType
 The derived expression type (made available to expression-template machinery). More...
 

Public Member Functions

const ContainerTypeoperator() () const
 Returns a const reference to the derived quaternion container. More...
 
ContainerTypeoperator() ()
 Returns a reference to the derived quaternion container. More...
 
- Public Member Functions inherited from CDPL::Math::QuaternionExpression< C >
const ExpressionTypeoperator() () const
 Returns a const reference to the derived quaternion expression. More...
 
ExpressionTypeoperator() ()
 Returns a reference to the derived quaternion expression. More...
 

Protected Member Functions

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

Detailed Description

template<typename C>
class CDPL::Math::QuaternionContainer< C >

Refinement of Math::QuaternionExpression marking the derived type as a concrete (writable) quaternion container.

Template Parameters
CThe derived quaternion container type.

Member Typedef Documentation

◆ ContainerType

template<typename C >
typedef C CDPL::Math::QuaternionContainer< C >::ContainerType

The derived quaternion container type.

Constructor & Destructor Documentation

◆ QuaternionContainer()

template<typename C >
CDPL::Math::QuaternionContainer< C >::QuaternionContainer ( )
inlineprotected

◆ ~QuaternionContainer()

template<typename C >
CDPL::Math::QuaternionContainer< C >::~QuaternionContainer ( )
inlineprotected

Member Function Documentation

◆ operator()() [1/2]

template<typename C >
const ContainerType& CDPL::Math::QuaternionContainer< C >::operator() ( ) const
inline

Returns a const reference to the derived quaternion container.

Returns
A const reference downcast to ContainerType.

◆ operator()() [2/2]

template<typename C >
ContainerType& CDPL::Math::QuaternionContainer< C >::operator() ( )
inline

Returns a reference to the derived quaternion container.

Returns
A reference downcast to ContainerType.

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