Filter effect container, which can contain a reference to another filter effect, or a filter effect itself (of any type).
More...
#include "donner/svg/components/filter/FilterEffect.h"
|
| | FilterEffect (Type value) |
| | Construct a filter effect from a pre-constructed filter.
|
|
constexpr | FilterEffect (None) |
| | Construct an empty filter, which applies no effect, as a constexpr constructor.
|
|
bool | operator== (const FilterEffect &other) const |
| | Equality operator.
|
| template<typename T> |
| bool | is () const |
| | Returns true if this filter effect is of type T.
|
| template<typename T> |
| T & | get () & |
| | Returns the filter effect as type T, asserting that the filter effect is of type T.
|
| template<typename T> |
| const T & | get () const & |
| | Returns the filter effect as type T, asserting that the filter effect is of type T.
|
| template<typename T> |
| T && | get () && |
| | Returns the filter effect as type T, asserting that the filter effect is of type T.
|
|
|
Type | value |
| | Filter effect variant value, contains the current effect.
|
|
|
std::ostream & | operator<< (std::ostream &os, const FilterEffect &filter) |
| | Ostream output operator.
|
Filter effect container, which can contain a reference to another filter effect, or a filter effect itself (of any type).
◆ FilterEffect()
| donner::svg::FilterEffect::FilterEffect |
( |
Type | value | ) |
|
|
inline |
Construct a filter effect from a pre-constructed filter.
- Parameters
-
| value | Filter effect to assign. |
◆ get() [1/3]
template<typename T>
| T & donner::svg::FilterEffect::get |
( |
| ) |
& |
|
inline |
Returns the filter effect as type T, asserting that the filter effect is of type T.
- Template Parameters
-
◆ get() [2/3]
template<typename T>
| T && donner::svg::FilterEffect::get |
( |
| ) |
&& |
|
inline |
Returns the filter effect as type T, asserting that the filter effect is of type T.
- Template Parameters
-
◆ get() [3/3]
template<typename T>
| const T & donner::svg::FilterEffect::get |
( |
| ) |
const & |
|
inline |
Returns the filter effect as type T, asserting that the filter effect is of type T.
- Template Parameters
-
◆ is()
template<typename T>
| bool donner::svg::FilterEffect::is |
( |
| ) |
const |
|
inline |
Returns true if this filter effect is of type T.
- Template Parameters
-
The documentation for this struct was generated from the following files:
- donner/svg/components/filter/FilterEffect.h
- donner/svg/components/filter/FilterEffect.cc