5#include "slideio/transformer/transformer_def.hpp"
6#include "slideio/transformer/transformationwrapper.hpp"
10#pragma warning( push )
11#pragma warning(disable: 4275 4251)
17 class ColorTransformation;
18 enum class ColorSpace;
19 enum class TransformationType;
20 class SLIDEIO_TRANSFORMER_EXPORTS ColorTransformationWrap :
public TransformationWrapper
23 ColorTransformationWrap(
const ColorTransformationWrap& other)
24 : TransformationWrapper(other),
25 m_filter(other.m_filter) {
28 ColorTransformationWrap(ColorTransformationWrap&& other) noexcept
29 : TransformationWrapper(std::move(other)),
30 m_filter(std::move(other.m_filter)) {
33 ColorTransformationWrap& operator=(
const ColorTransformationWrap& other) {
36 TransformationWrapper::operator =(other);
37 m_filter = other.m_filter;
41 ColorTransformationWrap& operator=(ColorTransformationWrap&& other)
noexcept {
44 TransformationWrapper::operator =(std::move(other));
45 m_filter = std::move(other.m_filter);
49 ColorTransformationWrap();
50 ColorTransformationWrap(
const ColorTransformation& filter);
51 ColorSpace getColorSpace()
const;
52 void setColorSpace(ColorSpace colorSpace);
53 TransformationType getType()
const override;
54 std::shared_ptr<ColorTransformation> getFilter()
const;;
56 std::shared_ptr<ColorTransformation> m_filter;
Definition: exceptions.hpp:15