filters

Swinder::PaletteRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::PaletteRecord:

Swinder::Record List of all members.

Detailed Description

Class PaletteRecord lists colors.

Definition at line 2128 of file excel.h.


Public Member Functions

unsigned int rtti ()
 PaletteRecord ()
 ~PaletteRecord ()
Color color (unsigned i) const
unsigned count () const
virtual void setData (unsigned size, const unsigned char *data)
virtual const char * name ()
virtual void dump (std::ostream &out) const

Static Public Attributes

static const unsigned int id

Constructor & Destructor Documentation

PaletteRecord::PaletteRecord (  ) 

Creates a new Palette record.

Definition at line 3566 of file excel.cpp.

PaletteRecord::~PaletteRecord (  ) 

Destroy the record.

Definition at line 3572 of file excel.cpp.


Member Function Documentation

Color PaletteRecord::color ( unsigned  i  )  const

Gets the n-th color.

Definition at line 3577 of file excel.cpp.

unsigned PaletteRecord::count (  )  const

Returns the number of colors in the palette.

Definition at line 3582 of file excel.cpp.

void PaletteRecord::setData ( unsigned  size,
const unsigned char *  data 
) [virtual]

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3587 of file excel.cpp.

virtual const char* Swinder::PaletteRecord::name (  )  [inline, virtual]

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2160 of file excel.h.

void PaletteRecord::dump ( std::ostream &  out  )  const [virtual]

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3603 of file excel.cpp.


Member Data Documentation

const unsigned int PaletteRecord::id [static]

Static ID of the record.

Subclasses should override this value with the id of the record they handle.

Reimplemented from Swinder::Record.

Definition at line 2132 of file excel.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys