ORIGINAL
Loading...
Searching...
No Matches
original::multiOptTransform< TYPE > Class Template Referencefinal

Transformation that multiplies an element by a given value. More...

#include <transform.h>

Inheritance diagram for original::multiOptTransform< TYPE >:
Inheritance graph
Collaboration diagram for original::multiOptTransform< TYPE >:
Collaboration graph

Public Member Functions

multiOptTransformclone () const override
 Clones the multiOptTransform object.
 
 multiOptTransform (const TYPE &t)
 Constructs a multiOptTransform with the specified value.
 
- Public Member Functions inherited from original::transform< TYPE >
 ~transform () override=default
 Virtual destructor for the transform class.
 
transformclone () const override
 Clones the transform object.
 
virtual void operator() (TYPE &t)
 Applies the transformation to the given element.
 
- Public Member Functions inherited from original::cloneable
 ~cloneable () override=default
 Virtual destructor for cloneable.
 
- Public Member Functions inherited from original::baseCloneable< cloneable >
virtual ~baseCloneable ()=default
 Virtual destructor for baseCloneable.
 

Additional Inherited Members

- Protected Member Functions inherited from original::cloneable
 cloneable ()=default
 Default constructor for cloneable.
 
- Protected Member Functions inherited from original::baseCloneable< cloneable >
 baseCloneable ()=default
 Default constructor for baseCloneable.
 

Detailed Description

template<typename TYPE>
class original::multiOptTransform< TYPE >

Transformation that multiplies an element by a given value.

Template Parameters
TYPEThe type of element being transformed

This transformation multiplies an element by a specified value.

Constructor & Destructor Documentation

◆ multiOptTransform()

template<typename TYPE>
original::multiOptTransform< TYPE >::multiOptTransform ( const TYPE & t)
explicit

Constructs a multiOptTransform with the specified value.

Parameters
tThe value to multiply the element by.

Member Function Documentation

◆ clone()

template<typename TYPE>
auto original::multiOptTransform< TYPE >::clone ( ) const
overridevirtual

Clones the multiOptTransform object.

Returns
A pointer to a new instance of multiOptTransform.

Reimplemented from original::baseCloneable< cloneable >.


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