|
template<typename... U>
requires std::constructible_from<T, U&&...> |
| ValueWrapper (std::string_view name, U &&... vals) |
|
| ValueWrapper (const ValueWrapper< T > &rhs)=default |
|
| ValueWrapper (ValueWrapper< T > &&rhs)=default |
|
ValueWrapper< T > & | operator= (const ValueWrapper< T > &that)=default |
|
ValueWrapper< T > & | operator= (ValueWrapper< T > &&that)=default |
|
ValueWrapper< T > & | operator= (const T &val) |
|
| operator const T & () const |
|
const T & | operator* () const |
|
const T * | operator-> () const |
|
bool | isDefault () const |
|
bool | reset () |
|
void | setAsDefault () |
|
void | serialize (Serializer &s, PropertySerializationMode mode=PropertySerializationMode::Default) const |
|
bool | deserialize (Deserializer &d, PropertySerializationMode mode=PropertySerializationMode::Default) |
|
bool | update (const ValueWrapper< T > &src) |
|
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) |
|
auto | operator<=> (const ValueWrapper< T > &rhs) const |
|
bool | operator== (const ValueWrapper< T > &rhs) const |
|
auto | operator<=> (const T &rhs) const |
|
bool | operator== (const T &rhs) const |
|
|
T | value |
|
T | defaultValue |
|
std::string | name |
|
◆ update() [1/3]
Update the value of this to that of src.
- Returns
- if value was modified
◆ update() [2/3]
template<typename T >
template<typename U >
requires std::assignable_from<T&, U> && (!std::is_same_v<T, U>) && std::equality_comparable_with<const U&, const T&>
Update the value of this to that of src.
- Returns
- if value was modified
◆ update() [3/3]
Update the value of this to that of src.
- Returns
- if value was modified
The documentation for this struct was generated from the following file: