ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
error.hpp
Go to the documentation of this file.
1
7
8#ifndef ODP_ERROR_HPP
9#define ODP_ERROR_HPP
10
11#ifndef __cplusplus
12#error This is a C++ include file and cannot be used from plain C
13#endif
14
16
17namespace ifw::odp {
18
33 class Error
34 {
35 public:
36
46 explicit Error();
47
55 virtual ~Error();
56
63 void ResetCplError();
64
71 bool CheckCplError() const;
72
73
74 protected:
75
76
77
84 std::string GetErrorMsg() const;
85 private:
86
87
88 private:
89 static int m_obj_num;
90 cpl_errorstate m_cpl_error_state;
91 };
92}
93#endif
94
95
96
97
98
99
100
101
102
virtual ~Error()
Class destructor.
Definition error.cpp:28
void ResetCplError()
Reset CPL error and internal error flag.
Definition error.cpp:35
std::string GetErrorMsg() const
Get CPL error message.
Definition error.cpp:51
bool CheckCplError() const
Check if there is an error in CPL.
Definition error.cpp:41
Error()
Class constructor.
Definition error.cpp:21
Array class source file.
Definition array.cpp:14