GDAL
Public Member Functions | List of all members
CPLErrorStateBackuper Class Reference

Class that saves the error state on construction, and restores it on destruction. More...

#include <cpl_error.h>

Public Member Functions

 CPLErrorStateBackuper (CPLErrorHandler hHandler=nullptr)
 Constructor that backs up the error state, and optionally installs a thread-local temporary error handler (typically CPLQuietErrorHandler).
 
 ~CPLErrorStateBackuper ()
 Destructor that restores the error state to its initial state before construction.
 

Detailed Description

Class that saves the error state on construction, and restores it on destruction.


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