ddt 1.1.0
Loading...
Searching...
No Matches
imageError.hpp File Reference

Image error handling function declaration. This file is part of the DDT Image Handling Library and provides error handling functions for the CPL library. More...

#include <sys/stat.h>
#include <algorithm>
#include <cctype>
#include "cpl.h"

Go to the source code of this file.

Functions

cpl_error_code GetLastCplErrorCode ()
 
const char * GetCplErrorMessage ()
 
const char * GetCplErrorWhere ()
 

Detailed Description

Image error handling function declaration. This file is part of the DDT Image Handling Library and provides error handling functions for the CPL library.

Author
Christoph Bortlisz, CGI
Since
2020/07/29

Function Documentation

◆ GetCplErrorMessage()

const char * GetCplErrorMessage ( )

Get last CPL error as text message

Returns
string containing last CPL error message

◆ GetCplErrorWhere()

const char * GetCplErrorWhere ( )

Get function name, source file and line number of last CPL error

Returns
string containing CPL function name, CPL source file and line number of last CPL error

◆ GetLastCplErrorCode()

cpl_error_code GetLastCplErrorCode ( )

This file is part of the DDT Image Handling Library and provides error handling functions for the CPL library. Get last CPL error code

Returns
cpl_error_code last cpl_error_code that was set