Overview | Namespace | Class | Index | Help

## 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 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 © 2003 Sun Microsystems, Inc.