OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Functions
ossimAdrgHeader.cpp File Reference
#include <cstring>
#include <iostream>
#include <ossim/base/ossimNotify.h>
#include <ossim/imaging/ossimAdrgHeader.h>
#include <ossim/imaging/ossimIso8211.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const ossimAdrgHeader &adrg)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ossimAdrgHeader adrg 
)

Definition at line 308 of file ossimAdrgHeader.cpp.

References ossimAdrgHeader::theHeaderFile, ossimAdrgHeader::theHeaderSize, ossimAdrgHeader::theImageFile, ossimAdrgHeader::theInterleaveType, ossimAdrgHeader::theLines, ossimAdrgHeader::theLinesInTiles, ossimAdrgHeader::theMaxLat, ossimAdrgHeader::theMaxLon, ossimAdrgHeader::theMinLat, ossimAdrgHeader::theMinLon, ossimAdrgHeader::theNumberOfBands, ossimAdrgHeader::thePixelType, ossimAdrgHeader::theSamples, ossimAdrgHeader::theSamplesInTiles, ossimAdrgHeader::theStartCol, ossimAdrgHeader::theStartRow, ossimAdrgHeader::theStopCol, ossimAdrgHeader::theStopRow, ossimAdrgHeader::theTif, ossimAdrgHeader::theTim, and ossimAdrgHeader::theValidImageRect.

309 {
310  os << "\nContents of ADRG Header file (.gen):"
311  << "\nImage File = " << adrg.theImageFile
312  << "\nHeader File = " << adrg.theHeaderFile
313  << "\nPixelType = " << adrg.thePixelType
314  << "\nInterleaveType = " << adrg.theInterleaveType
315  << "\nNumberOfBands = " << adrg.theNumberOfBands
316  << "\nLines = " << adrg.theLines
317  << "\nLines (tiles) = " << adrg.theLinesInTiles
318  << "\nSamples = " << adrg.theSamples
319  << "\nSamples (tiles) = " << adrg.theSamplesInTiles
320  << "\nHeaderSize = " << adrg.theHeaderSize
321  << "\nValidImageRect = " << adrg.theValidImageRect
322  << "\nTIF = " << adrg.theTif
323  << "\nMin Lon = " << adrg.theMinLon
324  << "\nMin Lat = " << adrg.theMinLat
325  << "\nMax Lon = " << adrg.theMaxLon
326  << "\nMax Lat = " << adrg.theMaxLat
327  << "\nStart Row = " << adrg.theStartRow
328  << "\nStart Col = " << adrg.theStartCol
329  << "\nStop Row = " << adrg.theStopRow
330  << "\nStop Col = " << adrg.theStopCol
331  << std::endl;
332 
333  for(ossim_uint32 m = 0; m < (adrg.theLinesInTiles * adrg.theSamplesInTiles); m++)
334  os << "\nTIM[" << m << "] = " << adrg.theTim[m];
335 
336  os << std::endl;
337 
338  return(os);
339 }
ossim_uint32 theSamplesInTiles
ossimString theMinLon
ossimString theMaxLon
ossimFilename theImageFile
ossimString theTif
ossim_uint32 thePixelType
unsigned int ossim_uint32
ossim_uint32 * theTim
ossim_uint32 theStopCol
ossim_uint32 theStartCol
ossim_uint32 theLines
ossim_uint32 theStartRow
ossim_uint32 theStopRow
ossim_uint32 theInterleaveType
ossimString theMaxLat
ossim_uint32 theHeaderSize
ossimString theMinLat
ossim_uint32 theNumberOfBands
ossim_uint32 theLinesInTiles
ossim_uint32 theSamples
ossimFilename theHeaderFile
ossimIrect theValidImageRect