Isis 3 Developer Reference
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 {
51 #if ENABLEJP2K
52  class JP2Error : public kdu_core::kdu_thread_safe_message {
53 #else
54  class JP2Error {
55 #endif
56  public:
58  void put_text(const char *message);
59 
61  void add_text(const std::string &message);
62 
64  void flush(bool end_of_message = false);
65 
67  std::string Message;
68  };
69 };
70 #endif
Kakadu error messaging class.
Definition: JP2Error.h:54
std::string Message
Definition: JP2Error.h:67
void add_text(const std::string &message)
Write Kakadu error messages using ISIS3 methods.
Definition: JP2Error.cpp:57
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void put_text(const char *message)
<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