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
15
#include "
ifw/odp/clipm/clipm_compatibility_replacements.h
"
16
17
namespace
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
ifw::odp::Error::~Error
virtual ~Error()
Class destructor.
Definition
error.cpp:28
ifw::odp::Error::ResetCplError
void ResetCplError()
Reset CPL error and internal error flag.
Definition
error.cpp:35
ifw::odp::Error::GetErrorMsg
std::string GetErrorMsg() const
Get CPL error message.
Definition
error.cpp:51
ifw::odp::Error::CheckCplError
bool CheckCplError() const
Check if there is an error in CPL.
Definition
error.cpp:41
ifw::odp::Error::Error
Error()
Class constructor.
Definition
error.cpp:21
clipm_compatibility_replacements.h
ifw::odp
Array class source file.
Definition
array.cpp:14
cppcpl
src
include
ifw
odp
cppcpl
error.hpp
Generated by
1.13.2