OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
TIFF info class. More...
#include <ossimJ2kInfo.h>
Public Member Functions | |
ossimJ2kInfo () | |
default constructor More... | |
virtual | ~ossimJ2kInfo () |
virtual destructor More... | |
virtual bool | open (const ossimFilename &file) |
open method. More... | |
virtual std::ostream & | print (std::ostream &out) const |
Print method. More... | |
![]() | |
ossimInfoBase () | |
default constructor More... | |
virtual bool | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString) |
open method. More... | |
void | setProcessOverviewFlag (bool flag) |
Sets the overview flag. More... | |
bool | getProcessOverviewFlag () const |
Method to get the overview flag. More... | |
virtual bool | getKeywordlist (ossimKeywordlist &kwl) const |
Method to dump info to a keyword list. More... | |
virtual bool | getKeywordlist (ossimKeywordlist &kwl, ossim_uint32 entryIndex) const |
Method to dump info to a keyword list. More... | |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Member Functions | |
void | readUInt16 (ossim_uint16 &s, std::ifstream &str) const |
Initializes s reference. More... | |
std::ostream & | printCodMarker (std::ostream &out, const std::string &prefix, std::ifstream &str) const |
Prints 0xff52 COD_MARKER (0xff52). More... | |
std::ostream & | printSizMarker (std::ostream &out, const std::string &prefix, std::ifstream &str) const |
Prints 0xff51 SIZ_MARKER (0xff51). More... | |
std::ostream & | printSotMarker (std::ostream &out, const std::string &prefix, std::ifstream &str) const |
Prints 0xff90 SOT_MARKER (0xff90) More... | |
std::ostream & | printUnknownMarker (std::ostream &out, const std::string &prefix, std::ifstream &str, ossim_uint16 marker) const |
Prints unhandle segment. More... | |
![]() | |
virtual | ~ossimInfoBase () |
virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
ossimFilename | m_file |
ossimEndian * | m_endian |
![]() | |
bool | theOverviewFlag |
TIFF info class.
Encapsulates the listgeo functionality.
Definition at line 27 of file ossimJ2kInfo.h.
ossimJ2kInfo::ossimJ2kInfo | ( | ) |
default constructor
Definition at line 32 of file ossimJ2kInfo.cpp.
References ossim::byteOrder(), m_endian, and OSSIM_LITTLE_ENDIAN.
|
virtual |
|
virtual |
open method.
file | File name to open. |
Reimplemented from ossimInfoBase.
Reimplemented in ossimJp2Info.
Definition at line 53 of file ossimJ2kInfo.cpp.
References ossimString::c_str(), and readUInt16().
|
virtual |
Print method.
out | Stream to print to. |
Implements ossimInfoBase.
Reimplemented in ossimJp2Info.
Definition at line 99 of file ossimJ2kInfo.cpp.
|
protected |
Prints 0xff52 COD_MARKER (0xff52).
out | Stream to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "j2k." and key is "file_name" key becomes: "j2k.file_name:" |
str | Input stream to pass to j2k record for parsing. Should be just pass the marker. |
Definition at line 168 of file ossimJ2kInfo.cpp.
References ossimJ2kCodRecord::parseStream(), and ossimJ2kCodRecord::print().
|
protected |
Prints 0xff51 SIZ_MARKER (0xff51).
out | Stream to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "j2k." and key is "file_name" key becomes: "j2k.file_name:" |
str | Input stream to pass to j2k record for parsing. Should be just pass the marker. |
Definition at line 178 of file ossimJ2kInfo.cpp.
References ossimJ2kSizRecord::parseStream(), and ossimJ2kSizRecord::print().
|
protected |
Prints 0xff90 SOT_MARKER (0xff90)
out | Stream to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "j2k." and key is "file_name" key becomes: "j2k.file_name:" |
str | Input stream to pass to j2k record for parsing. Should be just pass the marker. |
Definition at line 188 of file ossimJ2kInfo.cpp.
References ossimJ2kSotRecord::parseStream(), ossimJ2kSotRecord::print(), and ossimJ2kSotRecord::thePsot.
|
protected |
Prints unhandle segment.
This will only print the marker and record length.
out | Stream to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "j2k." and key is "file_name" key becomes: "j2k.file_name:" |
str | Input stream to pass to j2k record for parsing. Should be just pass the marker. |
marker. | The marker. |
Definition at line 207 of file ossimJ2kInfo.cpp.
References readUInt16().
|
protected |
Initializes s reference.
Does byte swapping as needed.
Definition at line 159 of file ossimJ2kInfo.cpp.
References m_endian, and ossimEndian::swap().
Referenced by open(), and printUnknownMarker().
|
protected |
Definition at line 121 of file ossimJ2kInfo.h.
Referenced by ossimJ2kInfo(), readUInt16(), ossimJp2Info::readUInt32(), ossimJp2Info::readUInt64(), and ~ossimJ2kInfo().
|
protected |
Definition at line 120 of file ossimJ2kInfo.h.
Referenced by ossimJp2Info::getBox(), ossimJp2Info::open(), and ossimJp2Info::print().