LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::ioBMP::header Class Reference

BITMAPFILEHEADER:. More...

#include <ltiBMPFunctor.h>

Collaboration diagram for lti::ioBMP::header:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 header ()
bool read (std::ifstream &in)
bool write (std::ofstream &out)
int length () const

Public Attributes

const uint16 type
uint32 size
const uint16 reserved1
const uint16 reserved2
uint32 offsetPixels

Detailed Description

BITMAPFILEHEADER:.

This class is defined within the class lti::ioBMP.


Constructor & Destructor Documentation

lti::ioBMP::header::header (  ) 

default constructor


Member Function Documentation

int lti::ioBMP::header::length (  )  const [inline]

size of the header (in bytes)

bool lti::ioBMP::header::read ( std::ifstream &  in  ) 

reads header from the stream "in".

Returns:
false if stream had an invalid header.
bool lti::ioBMP::header::write ( std::ofstream &  out  ) 

writes header to the stream "out".

Returns:
false if an error occurs.

Member Data Documentation

offset (in bytes) from this header to the bitmap pixels

must be 0

must be 0

file size in byte

file type.

For Bitmaps this must be 'BM'


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:59 2010 for LTI-Lib by Doxygen 1.6.1