VMime
context::switcher< CTX_CLASS > Class Template Reference

Public Member Functions

 switcher (CTX_CLASS &newCtx)
 
 ~switcher ()
 

Detailed Description

template<typename CTX_CLASS>
class vmime::context::switcher< CTX_CLASS >

Switches between contexts temporarily.

Constructor & Destructor Documentation

switcher ( CTX_CLASS &  newCtx)

Switches to the specified context.

Default context will temporarily use the data of the specified new context during the lifetime of this object.

Parameters
newCtxnew context
~switcher ( )

Restores back saved context.


The documentation for this class was generated from the following file: