CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csRGBVector Class Reference

This is a vector class that expects you to push csRGBcolor structs onto it. More...

#include <csrgbvct.h>

Inheritance diagram for csRGBVector:

csVector csBasicVector List of all members.

Public Methods

virtual int Compare (void *item1, void *item2, int)
 Compare two csRGBcolor structs. More...

virtual int CompareKey (void *item, const void *key, int)
 Compare a key (csRGBcolor struct) with a csRGBcolor struct. More...


Detailed Description

This is a vector class that expects you to push csRGBcolor structs onto it.

It has overrides for Compare and CompareKey.

Definition at line 30 of file csrgbvct.h.


Member Function Documentation

virtual int csRGBVector::Compare void *    item1,
void *    item2,
int   
[inline, virtual]
 

Compare two csRGBcolor structs.

Definition at line 35 of file csrgbvct.h.

References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red.

virtual int csRGBVector::CompareKey void *    item,
const void *    key,
int   
[inline, virtual]
 

Compare a key (csRGBcolor struct) with a csRGBcolor struct.

Definition at line 53 of file csrgbvct.h.

References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14