![]() |
Gorgon Game Engine
|
This is generic property that can be set and retrieved good for enums mostly, its ok to use with POD structs for direct assignment but better not to use it with complex data types. More...
Public Types | |
using | Type = T_ |
Public Member Functions | |
Property (C_ &Object) | |
Property (C_ *Object) | |
Property (const Property &)=delete | |
Property (Property &&)=default | |
T_ | Get () const |
operator const T_ () const | |
operator T_ () | |
bool | operator!= (const T_ &v) const |
T_ | operator* () const |
template<class O_ > | |
Property & | operator= (const O_ &value) |
Property & | operator= (const Property &)=delete |
template<class AC_ , T_(AC_::*)() const G_, void(AC_::*)(const T_ &) S_> | |
Property & | operator= (const Property< AC_, T_, G_, S_ > &prop) |
Property & | operator= (const T_ &value) |
Property & | operator= (Property &&)=default |
bool | operator== (const T_ &v) const |
void | Set (const T_ &value) |
Protected Attributes | |
C_ & | Object |
This is generic property that can be set and retrieved good for enums mostly, its ok to use with POD structs for direct assignment but better not to use it with complex data types.
using Type = T_ |
Property | ( | C_ * | Object | ) |
Property | ( | C_ & | Object | ) |
T_ Get | ( | ) | const |
operator const T_ | ( | ) | const |
operator T_ | ( | ) |
bool operator!= | ( | const T_ & | v | ) | const |
T_ operator* | ( | ) | const |
Property& operator= | ( | const O_ & | value | ) |
Property& operator= | ( | const T_ & | value | ) |
bool operator== | ( | const T_ & | v | ) | const |
void Set | ( | const T_ & | value | ) |
|
protected |