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 |
YES |
NO |
- Summary
- 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.
- 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
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.