libzmf::BMIHeader Class Reference

#include <BMIHeader.h>

List of all members.

Public Member Functions

 BMIHeader ()
bool load (const RVNGInputStreamPtr &input)
bool isSupported () const
unsigned size () const
unsigned startOffset () const
unsigned width () const
unsigned height () const
bool isPaletteMode () const
unsigned colorDepth () const
unsigned paletteColorCount () const
const std::vector< BMIOffset > & offsets () const

Private Member Functions

void readOffsets (const RVNGInputStreamPtr &input, uint16_t offsetCount)

Private Attributes

std::string m_signature
unsigned m_size
unsigned m_startOffset
unsigned m_width
unsigned m_height
bool m_isPaletteMode
unsigned m_colorDepth
std::vector< BMIOffsetm_offsets

Constructor & Destructor Documentation


Member Function Documentation

unsigned libzmf::BMIHeader::colorDepth ( ) const

Referenced by paletteColorCount().

unsigned libzmf::BMIHeader::height ( ) const
const std::vector< BMIOffset > & libzmf::BMIHeader::offsets ( ) const

Referenced by load().

void libzmf::BMIHeader::readOffsets ( const RVNGInputStreamPtr input,
uint16_t  offsetCount 
) [private]

Referenced by load().

unsigned libzmf::BMIHeader::size ( ) const
unsigned libzmf::BMIHeader::width ( ) const

Member Data Documentation

unsigned libzmf::BMIHeader::m_colorDepth [private]

Referenced by colorDepth(), and load().

unsigned libzmf::BMIHeader::m_height [private]

Referenced by height(), and load().

Referenced by isPaletteMode(), and load().

std::vector<BMIOffset> libzmf::BMIHeader::m_offsets [private]

Referenced by offsets(), and readOffsets().

std::string libzmf::BMIHeader::m_signature [private]

Referenced by isSupported(), and load().

unsigned libzmf::BMIHeader::m_size [private]

Referenced by readOffsets(), and size().

Referenced by load(), and startOffset().

unsigned libzmf::BMIHeader::m_width [private]

Referenced by load(), and width().


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