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

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

#include <Expression.hpp>

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

Public Types

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

Protected Member Functions

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

Detailed Description

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

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

Template Parameters
CThe derived grid container type.

Member Typedef Documentation

◆ ContainerType

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

The derived grid container type.

Constructor & Destructor Documentation

◆ GridContainer()

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

◆ ~GridContainer()

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

Member Function Documentation

◆ operator()() [1/2]

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

Returns a const reference to the derived grid container.

Returns
A const reference downcast to ContainerType.

◆ operator()() [2/2]

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

Returns a reference to the derived grid container.

Returns
A reference downcast to ContainerType.

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