Isis Developer Reference
JP2Error.h
Go to the documentation of this file.
1#ifndef JP2Error_h
2#define JP2Error_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <string>
10
11#if ENABLEJP2K
12#include "jp2.h"
13#endif
14
15namespace Isis {
35#if ENABLEJP2K
36 class JP2Error : public kdu_core::kdu_thread_safe_message {
37#else
38 class JP2Error {
39#endif
40 public:
42 void put_text(const char *message);
43
45 void add_text(const std::string &message);
46
48 void flush(bool end_of_message = false);
49
51 std::string Message;
52 };
53};
54#endif
Kakadu error messaging class.
Definition JP2Error.h:38
std::string Message
Definition JP2Error.h:51
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16