CVR-Lib last update 20 Sep 2009

cvr::ioBMP::ioBMP::palette Class Reference

Color Palette found in a BMP file. More...

#include <cvrIOBMP.h>

Inheritance diagram for cvr::ioBMP::ioBMP::palette:

Inheritance graph
[legend]
Collaboration diagram for cvr::ioBMP::ioBMP::palette:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 palette (int entries=0)
bool read (std::ifstream &in)
bool write (std::ofstream &out) const


Detailed Description

Color Palette found in a BMP file.

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


Constructor & Destructor Documentation

cvr::ioBMP::ioBMP::palette::palette ( int  entries = 0  ) 

default constructor

Parameters:
entries number of entries in the palette


Member Function Documentation

bool cvr::ioBMP::ioBMP::palette::read ( std::ifstream &  in  ) 

read the palette from the in stream

Parameters:
in input stream
Returns:
true if everything is ok, false otherwise

bool cvr::ioBMP::ioBMP::palette::write ( std::ofstream &  out  )  const

write palette to the out stream

Parameters:
out output stream
Returns:
true if everything is ok, false otherwise


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

Generated on Sun Sep 20 22:08:54 2009 for CVR-Lib by Doxygen 1.5.8