20 <<
"\nData Size in bytes: " 29 theNumberOfLookupValues(0),
30 theCompressionLookupValueBitLength(0),
31 theNumberOfValuesPerLookup(0),
38 :theNumberOfLookupValues(0),
39 theCompressionLookupValueBitLength(0),
40 theNumberOfValuesPerLookup(0),
154 unsigned long rememberLocation = in.tellg();
168 unsigned long size = (
theTable[index].theNumberOfValuesPerLookup*
169 theTable[index].theNumberOfLookupValues*
170 theTable[index].theCompressionLookupValueBitLength)/8;
176 in.seekg(rememberLocation, std::ios_base::beg);
196 std::ostream_iterator<ossimRpfCompressionOffsetTableData>(out,
"\n"));
ossim_int32 ossimErrorCode
virtual ~ossimRpfCompressionSection()
ossim_uint32 theCompressionLookupOffsetTableOffset
static const ossimErrorCode OSSIM_OK
ossim_uint16 getCompressionLookupValueBitLength() const
ossimRpfCompressionSectionSubheader * theSubheader
OSSIM_DLL ossimByteOrder byteOrder()
static const ossimErrorCode OSSIM_ERROR
std::vector< ossimRpfCompressionOffsetTableData > theTable
ossim_uint16 theNumberOfValuesPerLookup
ossimErrorCode parseStream(ossim::istream &in, ossimByteOrder byteOrder)
ossim_uint32 getCompressionLookupTableOffset() const
ossimErrorCode parseStream(ossim::istream &in, ossimByteOrder byteOrder)
ossim_uint32 theNumberOfLookupValues
ossimRpfCompressionOffsetTableData()
void print(std::ostream &out) const
ossimRpfCompressionSection()
ossim_uint32 getNumberOfCompressionLookupRecords() const
ossim_uint16 getCompressionLookupTableId() const
ossim_uint16 getNumberOfValuesPerCompressionLookupRecord() const
ossimByteOrder getSystemEndianType() const
std::ostream & operator<<(std::ostream &out, const ossimRpfCompressionOffsetTableData &data)
~ossimRpfCompressionOffsetTableData()
const ossimRpfCompressionOffsetTableData & operator=(const ossimRpfCompressionOffsetTableData &rhs)
std::basic_istream< char > istream
Base class for char input streams.
ossim_uint16 theCompressionLookupValueBitLength
ossim_uint16 theCompressionLookupTableOffsetRecordLength
std::basic_ostream< char > ostream
Base class for char output streams.