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