ifw-odp
3.1.0-pre1
cppcpl
src
include
cppcpl
error.hpp
Go to the documentation of this file.
1
9
#ifndef ODP_ERROR_HPP
10
#define ODP_ERROR_HPP
11
12
#ifndef __cplusplus
13
#error This is a C++ include file and cannot be used from plain C
14
#endif
15
16
#include "
clipm_compatibility_replacements.h
"
17
18
namespace
odp
{
19
34
class
Error
35
{
36
public
:
37
47
explicit
Error
();
48
56
virtual
~Error
();
57
64
void
ResetCplError
();
65
72
bool
CheckCplError
()
const
;
73
74
75
protected
:
76
77
78
85
std::string
GetErrorMsg
()
const
;
86
private
:
87
88
89
private
:
90
static
int
m_obj_num;
91
cpl_errorstate m_cpl_error_state;
92
};
93
}
94
#endif
clipm_compatibility_replacements.h
odp::Error::Error
Error()
Class constructor.
Definition:
error.cpp:23
odp::Error
This class handle the errors produced by the calling of image processing routines.
Definition:
error.hpp:35
odp
Definition:
array.cpp:16
odp::Error::CheckCplError
bool CheckCplError() const
Check if there is an error in CPL.
Definition:
error.cpp:43
odp::Error::ResetCplError
void ResetCplError()
Reset CPL error and internal error flag.
Definition:
error.cpp:37
odp::Error::~Error
virtual ~Error()
Class destructor.
Definition:
error.cpp:30
odp::Error::GetErrorMsg
std::string GetErrorMsg() const
Get CPL error message.
Definition:
error.cpp:53
Generated by
1.8.20