core/vil1/file_formats/vil1_bmp_file_header.h

Go to the documentation of this file.
00001 // This is core/vil1/file_formats/vil1_bmp_file_header.h
00002 #ifndef vil1_bmp_file_header_h_
00003 #define vil1_bmp_file_header_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author fsm
00010 
00011 #include <vcl_iosfwd.h>
00012 class vil1_stream;
00013 
00014 struct vil1_bmp_file_header
00015 {
00016   char     magic[2];      // 2
00017   unsigned file_size;     // 4
00018   short    reserved1;     // 2
00019   short    reserved2;     // 2
00020   unsigned bitmap_offset; // 4
00021 
00022   vil1_bmp_file_header();
00023   void read(vil1_stream *);
00024   void write(vil1_stream *) const;
00025   void print(vcl_ostream &) const;
00026   bool signature_valid() const;
00027 };
00028 
00029 #endif // vil1_bmp_file_header_h_

Generated on Sat Nov 22 05:08:28 2008 for core/vil1 by  doxygen 1.5.1