|
trase
|
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 | |
holds a std::function that maps between two DataWithAesthetic classes
|
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