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

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

#include <Expression.hpp>

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

Public Types

typedef C ContainerType
 The derived matrix container type. More...
 
- Public Types inherited from CDPL::Math::MatrixExpression< C >
typedef C ExpressionType
 The derived matrix 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 matrix container. More...
 
ContainerTypeoperator() ()
 Returns a reference to the derived matrix container. More...
 
- Public Member Functions inherited from CDPL::Math::MatrixExpression< C >
const ExpressionTypeoperator() () const
 Returns a const reference to the derived matrix expression. More...
 
ExpressionTypeoperator() ()
 Returns a reference to the derived matrix expression. More...
 

Protected Member Functions

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

Detailed Description

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

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

Template Parameters
CThe derived matrix container type.

Member Typedef Documentation

◆ ContainerType

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

The derived matrix container type.

Constructor & Destructor Documentation

◆ MatrixContainer()

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

◆ ~MatrixContainer()

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

Member Function Documentation

◆ operator()() [1/2]

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

Returns a const reference to the derived matrix container.

Returns
A const reference downcast to ContainerType.

◆ operator()() [2/2]

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

Returns a reference to the derived matrix container.

Returns
A reference downcast to ContainerType.

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