Overview | Namespace | Class | Index | Help

## Methods of Class ContextLayer

ContextLayer
  ContextLayer(

    const Reference< XCurrentContext > & | xNewContext = Reference < XCurrentContext > ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Saves the previous context and sets the new (given) one.
  Parameters

    xNewContext |
        new context to be set

~ContextLayer
  ~ContextLayer() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Destructor: restores the previous context.

getPreviousContext
  Reference< XCurrentContext > getPreviousContext() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Gets the previously set context.
  Return
    the previously set context

Top of Page

Copyright © 2003 Sun Microsystems, Inc.