Methods of Class WeakReference
- WeakReference
- WeakReference() 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.
- WeakReference
- WeakReference(
const Reference< interface_type > & |
rRef ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Copy ctor. Initialize this reference with a hard reference.
- Parameters
-
- operator=
- WeakReference & operator=(
const ::com::sun::star::uno::Reference< interface_type > & |
xInt ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
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
|
- Since
- UDK 3.2.12
- operator Reference< interface_type >
- operator Reference< interface_type >() 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
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.