CrystalSpace

Public API Reference

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

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:

csArray< csRGBcolor * > List of all members.

Static Public Methods

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

int CompareKey (csRGBcolor *const &i1, void *key)
 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 34 of file csrgbvct.h.


Member Function Documentation

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

Compare two csRGBcolor structs.

Definition at line 38 of file csrgbvct.h.

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

int csRGBVector::CompareKey csRGBcolor *const &    i1,
void *    key
[inline, static]
 

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