![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| bool | deserialize (Deserializer &d, PropertySerializationMode mode=PropertySerializationMode::Default) |
| bool | isDefault () const |
| operator const T & () const | |
| const T & | operator* () const |
| const T * | operator-> () const |
| auto | operator<=> (const T &rhs) const |
| auto | operator<=> (const ValueWrapper< T > &rhs) const |
| ValueWrapper< T > & | operator= (const T &val) |
| ValueWrapper< T > & | operator= (const ValueWrapper< T > &that)=default |
| ValueWrapper< T > & | operator= (ValueWrapper< T > &&that)=default |
| bool | operator== (const T &rhs) const |
| bool | operator== (const ValueWrapper< T > &rhs) const |
| bool | reset () |
| void | serialize (Serializer &s, PropertySerializationMode mode=PropertySerializationMode::Default) const |
| void | setAsDefault () |
| bool | update (const T &src) |
| template<typename U> requires std::assignable_from<T&, U> && (!std::is_same_v<T, U>) && std::equality_comparable_with<const U&, const T&> | |
| bool | update (const U &src) |
| bool | update (const ValueWrapper< T > &src) |
| ValueWrapper (const ValueWrapper< T > &rhs)=default | |
|
template<typename... U> requires std::constructible_from<T, U&&...> | |
| ValueWrapper (std::string_view name, U &&... vals) | |
| ValueWrapper (ValueWrapper< T > &&rhs)=default | |
Public Attributes | |
| T | defaultValue |
| std::string | name |
| T | value |
|
inline |
Update the value of this to that of src.
|
inline |
Update the value of this to that of src.
|
inline |
Update the value of this to that of src.