31 #ifndef CPL_ERROR_INTERNAL_H_INCLUDED
32 #define CPL_ERROR_INTERNAL_H_INCLUDED
34 #ifdef GDAL_COMPILATION
45 class CPL_DLL CPLErrorHandlerAccumulatorStruct
52 CPLErrorHandlerAccumulatorStruct() : type(CE_None), no(
CPLE_None) {}
53 CPLErrorHandlerAccumulatorStruct(
CPLErr eErrIn,
CPLErrorNum noIn,
const char* msgIn) :
54 type(eErrIn), no(noIn), msg(msgIn) {}
57 void CPL_DLL CPLInstallErrorHandlerAccumulator(std::vector<CPLErrorHandlerAccumulatorStruct>& aoErrors);
58 void CPL_DLL CPLUninstallErrorHandlerAccumulator();
Convenient string class based on std::string.
Definition: cpl_string.h:333
CPL error handling services.
#define CPLE_None
No error.
Definition: cpl_error.h:97
CPLErr
Error category.
Definition: cpl_error.h:53
int CPLErrorNum
Error number.
Definition: cpl_error.h:94
Various convenience functions for working with strings and string lists.