99 const std::string& prefix)
const 102 std::ios_base::fmtflags f = out.flags();
104 std::string pfx = prefix;
107 out.setf(std::ios_base::hex, std::ios_base::basefield);
108 out << pfx <<
"marker: 0xff90\n";
109 out.setf(std::ios_base::fmtflags(0), std::ios_base::basefield);
111 out << pfx <<
"Lsot: " <<
theLsot <<
"\n" 112 << pfx <<
"Isot: " <<
theIsot <<
"\n" 113 << pfx <<
"Psot: " <<
thePsot <<
"\n" 114 << pfx <<
"Tpsot: " << int(
theTpsot) <<
"\n" 115 << pfx <<
"Tnsot: " << int(
theTnsot)
126 return obj.
print(out);
ossim_uint8 theTnsot
0 = Number of tile-parts of this tile in the codestream is not defined in this header.
void setIsot(ossim_uint16 isot)
Sets the tile index.
void parseStream(ossim::istream &in)
Parse method.
ossim_uint8 theTpsot
Tile-Part index.
ossim_uint16 theIsot
Tile index.
void writeStream(std::ostream &out)
Write method.
OSSIM_DLL ossimByteOrder byteOrder()
ossim_uint16 theLsot
Length in bytes of the marker segment.
unsigned short ossim_uint16
std::ostream & operator<<(std::ostream &out, const ossimJ2kSotRecord &obj)
ossim_uint32 thePsot
The length in bytes of this record including the SOT marker.
~ossimJ2kSotRecord()
destructor
std::basic_istream< char > istream
Base class for char input streams.
std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
print method that outputs a key/value type format adding prefix to keys.
ossimJ2kSotRecord()
default constructor
std::basic_ostream< char > ostream
Base class for char output streams.