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

lti::ioBMP::palette Class Reference

Color Palette. More...

#include <ltiBMPFunctor.h>

Inheritance diagram for lti::ioBMP::palette:
Inheritance graph
[legend]
Collaboration diagram for lti::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)

Protected Attributes

endianness io

Detailed Description

Color Palette.

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


Constructor & Destructor Documentation

lti::ioBMP::palette::palette ( int  entries = 0  )  [inline]

default constructor

Parameters:
entries number of entries in the palette

Member Function Documentation

bool lti::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 lti::ioBMP::palette::write ( std::ofstream &  out  ) 

write palette to the out stream

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

Member Data Documentation

use the correct endianness to read and write!


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