1 #if !defined(__PROXY_HPP) 25 #if !defined(__COMMON_HPP) 36 template<
class SubjectImpl >
64 REQUIRE( aSubject != NULLPTR );
98 if( (*
this == aProxy) ==
false )
118 return (
this == &aProxy &&
167 virtual void setSubject( SubjectImpl *aSubject )
181 #endif // if !defined(__PROXY_HPP) Proxy & operator=(const Proxy &aProxy)
Assignment operator.
Definition: Proxy.hpp:96
SubjectImpl * theSubject
The subject pointer.
Definition: Proxy.hpp:177
virtual SubjectImpl & operator*(void)
Operator dereference overload.
Definition: Proxy.hpp:138
virtual SubjectImpl * operator->(void)
Operator selector overload.
Definition: Proxy.hpp:127
virtual ~Proxy(void)
Virtual destructor.
Definition: Proxy.hpp:81
Proxy(const Proxy &aProxy)
Copy constructor.
Definition: Proxy.hpp:72
Proxy(void)
Default constructor.
Definition: Proxy.hpp:47
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
Provide a surrogate or placeholder for another object to control access to it.
Definition: Proxy.hpp:37
bool operator==(const Proxy &aProxy) const
Equality operator.
Definition: Proxy.hpp:116
Assertion is-a Exception created when an assertion fails.
Definition: Assertion.hpp:423
virtual const SubjectImpl & getSubject(void) const
Returns a reference to theSubjec.
Definition: Proxy.hpp:154
Proxy(SubjectImpl *aSubject)
Constructor with SubjectImpl instance.
Definition: Proxy.hpp:59