#include <coherence/lang/FinalView.hpp>
Inherits MemberView< T >.
Public Types | |
typedef T | ValueType |
The type of the values the holder can reference. | |
typedef T::View | ValueView |
The View type for the referenced Object. | |
Public Member Functions | |
FinalView (const Object &oGuardian) | |
Construct a new FinalView referencing NULL via a handle. | |
FinalView (const Object &oGuardian, const ValueView &that) | |
Construct a new FinalView referencing specified Object. | |
FinalView (const Object &oGuardian, const ValueView &that, bool fMutable) | |
Construct a new FinalView referencing specified Object. | |
operator ValueView () const | |
Return a View to the referenced Object. | |
template<class PT> | |
o () const | |
Return a View to the referenced Object. | |
template<class PT> | |
o () const | |
Return a TypedHolder to the referenced Object. | |
const T * | operator-> () const |
Dereference the FinalView. | |
Protected Member Functions | |
virtual size64_t | retained () const |
Return the deep byte size of any managed objects held by this SmartMember. | |
ValueView | getFinal () const |
void | initialize (ValueView that) |
Initialize the value of a FinalView after it is constructed. |
Construct a new FinalView referencing NULL via a handle.
oGuardian | the object that protects this member |
operator ValueView | ( | ) | const [inline] |
Return a View to the referenced Object.
Reimplemented from MemberView.
o | ( | ) | const [inline] |
Return a View to the referenced Object.
Reimplemented from MemberView.
o | ( | ) | const [inline] |
Return a TypedHolder to the referenced Object.
Reimplemented from MemberView.
const T* operator-> | ( | ) | const [inline] |
Dereference the FinalView.
Reimplemented from MemberView.
void initialize | ( | ValueView | that | ) | [inline, protected] |
Initialize the value of a FinalView after it is constructed.
A FinalView may be initialized only if the following conditions hold:
initialize()
)
that | the value to initialize this FinalView to |