Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
PUBLIC MEMBERS:
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA
:: com :: sun :: star :: uno ::
class WeakReferenceHelper
Base Classes
None.
Known Derived Classes
WeakReference
virtual
abstract
interface
template
NO
NO
NO
NO
Summary
The WeakReferenceHelper holds a weak reference to an object. This object must implement
the ::com::sun::star::uno::XWeak interface. The implementation is thread safe.
File
weakref.hxx
Public Members
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( );
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.
void
clear ( ) throw( );
Releases this reference.
Top of Page Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.