Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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
rRef
another hard ref

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.