lsxml::ProxyContext Class Reference

Proxy context. More...

#include <lsxml.h>

List of all members.

Public Member Functions

 ProxyContext (ContextT< struct dummy_tag > *ctx)
 Constructor.
 ProxyContext (Context &ctx)
 Constructor.
 ~ProxyContext ()
 Destructor.


Detailed Description

Proxy context.

The ProxyContext class allows to temporarily set any context as the current one. Unlike the Context::MakeCurrent() function, which permanently modifies the context stack, after a ProxyContext object goes out of scope, the context stack is reverted to it's original state (from before the ProxyContext was constructed).


Constructor & Destructor Documentation

lsxml::ProxyContext::ProxyContext ( ContextT< struct dummy_tag > *  ctx  )  [inline]

Constructor.

Parameters:
ctx pointer to the context which should be pushed on top of the stack
See also:
Context::MakeCurrent

lsxml::ProxyContext::ProxyContext ( Context ctx  )  [inline]

Constructor.

Parameters:
ctx reference to the context which should be pushed on top of the stack
See also:
Context::MakeCurrent


The documentation for this class was generated from the following files:
Generated on Tue Sep 29 14:51:12 2009 for lsxml by  doxygen 1.5.1-p1