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 2083 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

Swinder::PaletteRecord::PaletteRecord  ) 
 

Creates a new Palette record.

Swinder::PaletteRecord::~PaletteRecord  ) 
 

Destroy the record.


Member Function Documentation

Color Swinder::PaletteRecord::color unsigned  i  )  const
 

Gets the n-th color.

unsigned Swinder::PaletteRecord::count  )  const
 

Returns the number of colors in the palette.

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2115 of file excel.h.

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

Sets the data for this record.

Reimplemented from Swinder::Record.


Member Data Documentation

const unsigned int Swinder::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 2087 of file excel.h.


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