lti::ioBMP::palette Class Reference
Color Palette.
More...
#include <ltiBMPFunctor.h>
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:
-
- Returns:
- true if everything is ok, false otherwise
bool lti::ioBMP::palette::write |
( |
std::ofstream & |
out |
) |
|
write palette to the out stream
- Parameters:
-
- Returns:
- true if everything is ok, false otherwise
Member Data Documentation
The documentation for this class was generated from the following file: