Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
WeakReferenceHelper( ) throw( ); |
Default ctor. Creates an empty weak reference. |
WeakReferenceHelper( const WeakReferenceHelper & rWeakRef ) throw( ); |
Copy ctor. Initialize this reference with the same interface as in rWeakRef. |
WeakReferenceHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & xInt ) throw( ); |
Initialize this reference with the hard interface reference xInt. If the implementation behind xInt does not support XWeak or XInt is null then this reference will be null. |
~WeakReferenceHelper( ) throw( ); |
Releases this reference. |
WeakReferenceHelper & operator=( const WeakReferenceHelper & rWeakRef ) throw( ); |
Releases this reference and takes over rWeakRef. |
WeakReferenceHelper & operator=( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & xInt ) throw( ); |
Releases this reference and takes over hard reference xInt. If the implementation behind xInt does not support XWeak or XInt is null, than this reference is null. |
sal_Bool operator==( const WeakReferenceHelper & rObj ) const throw( ); |
Returns true if both weak refs reference to the same object. |
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > get( ) const throw( ); |
Gets a hard reference to the object. |
operator Reference< XInterface >( ) const throw( ); |
Gets a hard reference to the object. |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.