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)
57 : type(eErrIn), no(noIn), msg(msgIn)
62 void CPL_DLL CPLInstallErrorHandlerAccumulator(
63 std::vector<CPLErrorHandlerAccumulatorStruct> &aoErrors);
64 void CPL_DLL CPLUninstallErrorHandlerAccumulator();
68 #endif // CPL_ERROR_INTERNAL_H_INCLUDED