Isis 3.0
Back | Home
JP2Error.h
Go to the documentation of this file.
1 #ifndef JP2Error_h
2 #define JP2Error_h
3 
25 #include <string>
26 
27 #if ENABLEJP2K
28 #include "jp2.h"
29 #endif
30 
31 namespace Isis {
49 #if ENABLEJP2K
50  class JP2Error : public kdu_thread_safe_message {
51 #else
52  class JP2Error {
53 #endif
54  public:
56  void put_text(const char *message);
57 
59  void add_text(const std::string &message);
60 
62  void flush(bool end_of_message = false);
63 
65  std::string Message;
66  };
67 };
68 #endif
Kakadu error messaging class.
Definition: JP2Error.h:52
std::string Message
Definition: JP2Error.h:65
void add_text(const std::string &message)
Write Kakadu error messages using ISIS3 methods.
Definition: JP2Error.cpp:57
void put_text(const char *message)
&lt;Save text from a Kakadu produced error
Definition: JP2Error.cpp:47
void flush(bool end_of_message=false)
Used to store accumulated Kakadu error messages.
Definition: JP2Error.cpp:68

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:21:19