Reference property allows clients to access a reference object within the class.
More...
|
| | ReferenceProperty (C_ &Object) |
| |
| | ReferenceProperty (C_ *Object) |
| |
| | ReferenceProperty (const ReferenceProperty &)=delete |
| |
| | ReferenceProperty (ReferenceProperty &&)=default |
| |
| T_ & | Get () const |
| |
| T_ * | GetPtr () const |
| |
| | operator T_ & () |
| |
| | operator T_ & () const |
| |
| bool | operator!= (const T_ &v) const |
| | Compares two objects, this performs reference comparison, not lexical. More...
|
| |
| bool | operator!= (const T_ *v) const |
| | Compares two objects, this performs reference comparison, not lexical. More...
|
| |
| internal::ReferencePropertyWatch< ReferenceProperty< C_, T_, Getter_, Setter_, Update_ > > | operator-> () |
| |
| const T_ * | operator-> () const |
| |
| ReferenceProperty & | operator= (const ReferenceProperty &)=delete |
| |
| ReferenceProperty & | operator= (ReferenceProperty &&)=default |
| |
| ReferenceProperty & | operator= (T_ &value) |
| |
| ReferenceProperty & | operator= (T_ *value) |
| |
| bool | operator== (const T_ &v) const |
| | Compares two objects, this performs reference comparison, not lexical. More...
|
| |
| bool | operator== (const T_ *v) const |
| | Compares two objects, this performs reference comparison, not lexical. More...
|
| |
| void | Update () |
| |
template<class C_, class T_, T_ *(C_::*)() const Getter_, void(C_::*)(T_ *) Setter_, void(C_::*)() Update_>
class Gorgon::ReferenceProperty< C_, T_, Getter_, Setter_, Update_ >
Reference property allows clients to access a reference object within the class.
This property does not have a setter, but instead it uses update function that is called whenever reference object is accessed by using -> operator. The client can call update function manually.