#include <Proxy.hpp>
Public Member Functions | |
Proxy (void) | |
Default constructor. | |
Proxy (SubjectImpl *aSubject) throw (Assertion) | |
Constructor with SubjectImpl instance. | |
Proxy (const Proxy &aProxy) | |
Copy constructor. | |
virtual | ~Proxy (void) |
Virtual destructor. | |
Proxy & | operator= (const Proxy &aProxy) |
Assignment operator. | |
bool | operator== (const Proxy &aProxy) const |
Equality operator. | |
virtual SubjectImpl * | operator-> (void) |
Operator selector overload. | |
virtual SubjectImpl & | operator* (void) throw ( Assertion ) |
Operator dereference overload. | |
virtual const SubjectImpl & | getSubject (void) const throw ( Assertion ) |
Returns a reference to theSubjec. | |
Protected Member Functions | |
virtual void | setSubject (SubjectImpl *aSubject) |
Protected Attributes | |
SubjectImpl * | theSubject |
The subject pointer. |
corelinux::Proxy< SubjectImpl >::Proxy | ( | SubjectImpl * | aSubject | ) | throw (Assertion) [inline] |
Constructor with SubjectImpl instance.
SubjectImpl | pointer |
corelinux::Proxy< SubjectImpl >::Proxy | ( | const Proxy< SubjectImpl > & | aProxy | ) | [inline] |
Proxy& corelinux::Proxy< SubjectImpl >::operator= | ( | const Proxy< SubjectImpl > & | aProxy | ) | [inline] |
Assignment operator.
Proxy | const reference |
References corelinux::Proxy< SubjectImpl >::getSubject(), and corelinux::Proxy< SubjectImpl >::theSubject.
bool corelinux::Proxy< SubjectImpl >::operator== | ( | const Proxy< SubjectImpl > & | aProxy | ) | const [inline] |
Equality operator.
Proxy | const reference |
References corelinux::Proxy< SubjectImpl >::getSubject(), and corelinux::Proxy< SubjectImpl >::theSubject.
virtual SubjectImpl* corelinux::Proxy< SubjectImpl >::operator-> | ( | void | ) | [inline, virtual] |
Operator selector overload.
References corelinux::Proxy< SubjectImpl >::theSubject.
virtual SubjectImpl& corelinux::Proxy< SubjectImpl >::operator* | ( | void | ) | throw ( Assertion ) [inline, virtual] |
Operator dereference overload.
Assertion | if theSubject is NULLPTR |
References corelinux::Proxy< SubjectImpl >::theSubject.
virtual const SubjectImpl& corelinux::Proxy< SubjectImpl >::getSubject | ( | void | ) | const throw ( Assertion ) [inline, virtual] |
Returns a reference to theSubjec.
Assertion | if theSubject is NULLPTR |
References corelinux::Proxy< SubjectImpl >::theSubject.
Referenced by corelinux::Proxy< SubjectImpl >::operator=(), and corelinux::Proxy< SubjectImpl >::operator==().