Main Page | Class Hierarchy | Class List | Directories | Class Members

MntPnmHdr Class Reference

An abstraction of a header from a PNM file. More...

#include <mnt_pnm_hdr.h>

List of all members.

Public Member Functions

int encode (BitParser *bp)
 Write the current header into a output bitstream as a PNM header.
int parse (BitParser *bp)
 Read a PNM header from an input bitstream and store in this object.

Public Attributes

int type_
int width_
int height_
int maxVal_


Detailed Description

An abstraction of a header from a PNM file.


Member Function Documentation

int MntPnmHdr::encode BitParser bp  ) 
 

Write the current header into a output bitstream as a PNM header.

Parameters:
bp BitParser object that is attached to the output bitstream to write into.
Returns:
The number of bytes written

int MntPnmHdr::parse BitParser bp  ) 
 

Read a PNM header from an input bitstream and store in this object.

Parameters:
bp BitParser object that is attached to the input BitStream to read from.
Returns:
The number of bytes read.


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 12:37:13 2005 for mnt by  doxygen 1.4.4