#include <lsxml.h>
Public Member Functions | |
| ProxyContext (ContextT< struct dummy_tag > *ctx) | |
| Constructor. | |
| ProxyContext (Context &ctx) | |
| Constructor. | |
| ~ProxyContext () | |
| Destructor. | |
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).
| lsxml::ProxyContext::ProxyContext | ( | ContextT< struct dummy_tag > * | ctx | ) | [inline] |
Constructor.
| ctx | pointer to the context which should be pushed on top of the stack |
| lsxml::ProxyContext::ProxyContext | ( | Context & | ctx | ) | [inline] |
Constructor.
| ctx | reference to the context which should be pushed on top of the stack |
1.5.1-p1