Methods of Class WeakReferenceHelper
- WeakReferenceHelper
- WeakReferenceHelper() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Default ctor. Creates an empty weak reference.
- WeakReferenceHelper
- WeakReferenceHelper(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Copy ctor. Initialize this reference with the same interface as in rWeakRef.
- Parameters
rWeakRef |
another weak ref
|
- WeakReferenceHelper
- WeakReferenceHelper(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & |
xInt ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- 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.
- Parameters
xInt |
another hard interface reference
|
- ~WeakReferenceHelper
- ~WeakReferenceHelper() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Releases this reference.
- operator=
- WeakReferenceHelper & operator=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Releases this reference and takes over rWeakRef.
- Parameters
rWeakRef |
another weak ref
|
- operator=
- WeakReferenceHelper & operator=(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & |
xInt ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Description
- Releases this reference and takes over hard reference xInt.
If the implementation behind xInt does not support XWeak
or XInt is null, then this reference is null.
- Parameters
xInt |
another hard reference
|
- operator==
- sal_Bool operator==(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Returns true if both weak refs reference to the same object.
- Parameters
-
- Return
- true, if both weak refs reference to the same object.
- get
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > get() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Gets a hard reference to the object.
- Return
- hard reference or null, if the weakly referenced interface has gone
- operator Reference< XInterface >
- operator Reference< XInterface >() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Gets a hard reference to the object.
- Return
- hard reference or null, if the weakly referenced interface has gone
- clear
- void clear() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Releases this reference.
- Since
- UDK 3.2.12
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.