ddt  0.1
imageError.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file imageError.hpp
8 // @brief Image error handling function declaration.
9 //
10 // This file is part of the DDT Image Handling Library and
11 // provides error handling functions for the CPL library.
12 //
13 // @author Christoph Bortlisz, CGI
14 // @since 2020/07/29
15 //
16 
17 #ifndef IMAGEERROR_HPP_
18 #define IMAGEERROR_HPP_
19 
20 #include <sys/stat.h>
21 
22 #include <algorithm>
23 #include <cctype>
24 
25 #include "cpl.h"
26 
27 // namespace ddt {
28 
38 cpl_error_code GetLastCplErrorCode();
39 
44 const char* GetCplErrorMessage();
45 
51 const char* GetCplErrorWhere();
52 
53 //} // namespace ddt
54 
55 #endif /* IMAGEERROR_HPP_ */
GetLastCplErrorCode
cpl_error_code GetLastCplErrorCode()
Definition: imageError.cpp:30
GetCplErrorWhere
const char * GetCplErrorWhere()
Definition: imageError.cpp:43
GetCplErrorMessage
const char * GetCplErrorMessage()
Definition: imageError.cpp:36