CrystalSpace

Public API Reference

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

csRGBVector Class Reference

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

#include <csgfx/csrgbvct.h>

Inheritance diagram for csRGBVector:

csArray< csRGBcolor * > List of all members.

Static Public Member Functions

int Compare (csRGBcolor *const &i1, csRGBcolor *const &i2)
 Compare two csRGBcolor structs.
int CompareKey (csRGBcolor *const &c, csRGBcolor const &key)
 Compare a key (csRGBcolor struct) with a csRGBcolor struct.

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 31 of file csrgbvct.h.


Member Function Documentation

int csRGBVector::Compare csRGBcolor *const &  i1,
csRGBcolor *const &  i2
[inline, static]
 

Compare two csRGBcolor structs.

Definition at line 35 of file csrgbvct.h.

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

Referenced by CompareKey().

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

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

Definition at line 48 of file csrgbvct.h.

References Compare().


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