trase
trase::Transform Class Reference

holds a std::function that maps between two DataWithAesthetic classes More...

#include <Transform.hpp>

Public Member Functions

 Transform ()
 construct an identity transform
 
template<typename T >
 Transform (const T &transform)
 construct a Transform wrapping the given transform function T. More...
 
DataWithAesthetic operator() (const DataWithAesthetic &data)
 perform mapping on data, return result
 

Detailed Description

holds a std::function that maps between two DataWithAesthetic classes

Constructor & Destructor Documentation

◆ Transform()

template<typename T >
trase::Transform::Transform ( const T &  transform)
inlineexplicit

construct a Transform wrapping the given transform function T.

The function T can be any function or function object that is compatible with std::function


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