OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimAigDataFileHeader.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks.com)
6 //
7 //*******************************************************************
8 // $Id: ossimAigDataFileHeader.h 9968 2006-11-29 14:01:53Z gpotts $
9 #ifndef ossimAigDataFileHeader_HEADER
10 #define ossimAigDataFileHeader_HEADER
11 #include <iostream>
13 #include <string.h>
14 
16 {
17 public:
19  {
20  reset();
21  }
22 
23  void reset()
24  {
25  theMagicNumber[0] = 0x00;
26  theMagicNumber[1] = 0x00;
27  theMagicNumber[2] = 0x27;
28  theMagicNumber[3] = 0x0A;
29  theMagicNumber[4] = 0xFF;
30  theMagicNumber[5] = 0xFF;
31  theMagicNumber[6] = 0xFC;
32  theMagicNumber[7] = 0x14;
33  memset((char*)theZeroFill1,
34  0x00,
35  16);
36  memset((char*)theZeroFill2,
37  0x00,
38  72);
39  theFileSize = 50;
40  }
41  bool writeStream(std::ostream& out)const;
42 
50 
51 
52  // ________________ These fields are replicated for every tile__________
53 
65 
66  //____________________These are from Frank's docs on the grid format
153 
161 
163 };
164 
165 #endif
bool writeStream(std::ostream &out) const
short ossim_int16
unsigned char ossim_uint8
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
int ossim_int32