#include <formula.hh>

Inheritance diagram for concepts::OpAdd< F >:
concepts::Operation< F > concepts::Cloneable concepts::OutputOperator

Public Member Functions

virtual OpAdd< F > * clone () const
 Virtual constructor. More...
 
 OpAdd (const F summand)
 
virtual F operator() (const F val) const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

const F summand_
 

Detailed Description

template<class F>
class concepts::OpAdd< F >

Definition at line 393 of file formula.hh.

Constructor & Destructor Documentation

◆ OpAdd()

template<class F >
concepts::OpAdd< F >::OpAdd ( const F  summand)
inline

Definition at line 395 of file formula.hh.

Member Function Documentation

◆ clone()

template<class F >
virtual OpAdd<F>* concepts::OpAdd< F >::clone ( ) const
inlinevirtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Operation< F >.

Definition at line 396 of file formula.hh.

◆ info()

template<class F >
virtual std::ostream& concepts::OpAdd< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Operation< F >.

◆ operator()()

template<class F >
virtual F concepts::OpAdd< F >::operator() ( const F  val) const
virtual

Member Data Documentation

◆ summand_

template<class F >
const F concepts::OpAdd< F >::summand_
private

Definition at line 401 of file formula.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich