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

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

#include <Expression.hpp>

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

Public Types

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

Protected Member Functions

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

Detailed Description

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

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

Template Parameters
CThe derived vector container type.

Member Typedef Documentation

◆ ContainerType

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

The derived vector container type.

Constructor & Destructor Documentation

◆ VectorContainer()

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

◆ ~VectorContainer()

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

Member Function Documentation

◆ operator()() [1/2]

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

Returns a const reference to the derived vector container.

Returns
A const reference downcast to ContainerType.

◆ operator()() [2/2]

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

Returns a reference to the derived vector container.

Returns
A reference downcast to ContainerType.

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