File failed to load: https://isis.astrogeology.usgs.gov/dev/Object/assets/jax/output/NativeMML/config.js
Isis Developer Reference
JP2Error.h
Go to the documentation of this file.
1#ifndef JP2Error_h
2#define JP2Error_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <string>
10
11#if ENABLEJP2K
12#include "jp2.h"
13#endif
14
15namespace Isis {
34
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
void flush(bool end_of_message=false)
Used to store accumulated Kakadu error messages.
Definition JP2Error.cpp:52
void add_text(const std::string &message)
Write Kakadu error messages using ISIS methods.
Definition JP2Error.cpp:41
std::string Message
Definition JP2Error.h:51
void put_text(const char *message)
<Save text from a Kakadu produced error
Definition JP2Error.cpp:31
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16