|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
ossimKakaduCompressedTarget JPEG2000 (J2K) kdu_compressed_target that uses an ostream for writing to the file. More...
#include <ossimKakaduCompressedTarget.h>
Public Member Functions | |
| ossimKakaduCompressedTarget () | |
| default construtor More... | |
| virtual | ~ossimKakaduCompressedTarget () |
| virtural destructor More... | |
| void | setStream (std::ostream *stream) |
| Sets the output stream. More... | |
| virtual bool | write (const kdu_core::kdu_byte *buf, int num_bytes) |
| Write method. More... | |
| virtual bool | start_rewrite (kdu_core::kdu_long backtrack) |
| virtual bool | end_rewrite () |
Private Attributes | |
| std::ostream * | m_stream |
| std::streamoff | m_restorePosition |
ossimKakaduCompressedTarget JPEG2000 (J2K) kdu_compressed_target that uses an ostream for writing to the file.
Definition at line 27 of file ossimKakaduCompressedTarget.h.
| ossimKakaduCompressedTarget::ossimKakaduCompressedTarget | ( | ) |
default construtor
Definition at line 19 of file ossimKakaduCompressedTarget.cpp.
|
virtual |
|
virtual |
Definition at line 89 of file ossimKakaduCompressedTarget.cpp.
References m_restorePosition, and m_stream.
| void ossimKakaduCompressedTarget::setStream | ( | std::ostream * | stream | ) |
Sets the output stream.
Note the ossimKakaduCompressedTarget only uses the stream it does not take over(delete) memory on destruction.
| stream | The output stream. |
Definition at line 29 of file ossimKakaduCompressedTarget.cpp.
References m_restorePosition, and m_stream.
|
virtual |
Definition at line 77 of file ossimKakaduCompressedTarget.cpp.
References m_restorePosition, and m_stream.
|
virtual |
Write method.
| buf | The buffer to pull from. |
| num_bytes | The number of bytes to write. |
Definition at line 46 of file ossimKakaduCompressedTarget.cpp.
References m_restorePosition, and m_stream.
|
private |
Definition at line 63 of file ossimKakaduCompressedTarget.h.
Referenced by end_rewrite(), setStream(), start_rewrite(), and write().
|
private |
Definition at line 62 of file ossimKakaduCompressedTarget.h.
Referenced by end_rewrite(), setStream(), start_rewrite(), and write().
1.8.14