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 © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.