Qpid Proton C++  0.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
state_guard Struct Reference

Experimental - Save and restore codec state More...

#include <data.hpp>

Public Member Functions

void cancel ()
 Discard the saved state.
 

Detailed Description

Experimental - Save and restore codec state

A state_guard saves the state and restores it in the destructor unless cancel() is called.


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