OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Functions
ossimDtedRecord.cpp File Reference
#include <iostream>
#include <ossim/support_data/ossimDtedRecord.h>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimCommon.h>
#include <ossim/base/ossimEndian.h>
#include <ossim/base/ossimNotifyContext.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const ossimDtedRecord &rec)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ossimDtedRecord rec 
)

Definition at line 274 of file ossimDtedRecord.cpp.

References ossimDtedRecord::theCheckSum, ossimDtedRecord::theComputedCheckSum, ossimDtedRecord::theDataBlockCount, ossimDtedRecord::theLatCount, ossimDtedRecord::theLonCount, ossimDtedRecord::theNumPoints, ossimDtedRecord::thePoints, ossimDtedRecord::theRecSen, ossimDtedRecord::theStartOffset, and ossimDtedRecord::theStopOffset.

275 {
276  os << "\nDTED Record:"
277  << "\n-------------------------------"
278  << "\n Recognition Sentinel: " << rec.theRecSen
279  << "\nData Block Count: " << rec.theDataBlockCount
280  << "\nLon Count: " << rec.theLonCount
281  << "\nLat Count: " << rec.theLatCount
282  << "\nNum Points: " << rec.theNumPoints
283  << "\nParsed Check Sum: " << rec.theCheckSum
284  << "\nComputed Check Sum " << rec.theComputedCheckSum
285  << "\nStart Offset: " << rec.theStartOffset
286  << "\nStop Offset: " << rec.theStopOffset
287  << std::endl;
288  int i = 0;
289 
290  for(i = 0; i < rec.theNumPoints; i++)
291  {
292  os << "\nPoint[" << i << "]: " << rec.thePoints[i];
293  }
294 
295  os << std::endl;
296 
297  return os;
298 }
ossim_int32 theNumPoints
ossim_int32 theStartOffset
ossim_int32 theLonCount
ossimString theRecSen
ossim_int32 theStopOffset
ossim_int32 theDataBlockCount
ossim_int32 theLatCount
ossim_uint32 theComputedCheckSum
ossim_int32 * thePoints
ossim_uint32 theCheckSum